/* ═══════════════════════════════════════════════════════════════
   KBG GROUP — BLOG DESIGN SYSTEM (single source of truth)
   Loaded by blog.html (listing) and every article in /blog/.
   Layer 1: core design system (extracted from the article template)
   Layer 2: shared header/nav
   Layer 3: magazine edition — listing + editorial typography
   ═══════════════════════════════════════════════════════════════ */

/* ── LAYER 1: CORE ── */
/* ── CRITICAL LAYOUT (Tailwind-independent) ── */
    body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif; -webkit-font-smoothing: antialiased; margin: 0; color: #262626; line-height: 1.6; }
    *, *::before, *::after { box-sizing: border-box; }
    header { position: fixed !important; width: 100% !important; top: 0 !important; z-index: 50 !important; background: rgba(255,255,255,0.95); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(0,0,0,0.05); }
    header > div { max-width: 80rem; margin: 0 auto; padding: 20px 32px; display: flex !important; align-items: center !important; justify-content: space-between !important; }
    header nav { display: flex !important; align-items: center !important; gap: 32px; font-size: 14px; font-weight: 500; }
    .mobile-menu-btn { display: none; }
    .products-dropdown { opacity: 0 !important; visibility: hidden !important; pointer-events: none; }
    .nav-link-wrapper:hover .products-dropdown { opacity: 1 !important; visibility: visible !important; pointer-events: auto; }
    .max-w-7xl { max-width: 80rem; margin-left: auto; margin-right: auto; }
    .max-w-5xl { max-width: 64rem; margin-left: auto; margin-right: auto; }
    .max-w-4xl { max-width: 56rem; margin-left: auto; margin-right: auto; }
    .max-w-3xl { max-width: 48rem; margin-left: auto; margin-right: auto; }
    .max-w-2xl { max-width: 42rem; margin-left: auto; margin-right: auto; }
    .max-w-md  { max-width: 28rem; }
    .px-6  { padding-left: 1.5rem; padding-right: 1.5rem; }
    .py-5  { padding-top: 1.25rem; padding-bottom: 1.25rem; }
    .py-16 { padding-top: 4rem; padding-bottom: 4rem; }
    .py-24 { padding-top: 6rem; padding-bottom: 6rem; }
    .pt-0  { padding-top: 0; } .pt-8 { padding-top: 2rem; } .pt-32 { padding-top: 8rem; }
    .pb-0  { padding-bottom: 0; } .pb-12 { padding-bottom: 3rem; }
    .mx-auto { margin-left: auto; margin-right: auto; }
    .mb-4 { margin-bottom: 1rem; } .mb-6 { margin-bottom: 1.5rem; }
    .mb-10 { margin-bottom: 2.5rem; } .mb-12 { margin-bottom: 3rem; }
    .bg-white { background: #fff; } .bg-neutral-50 { background: #fafafa; }
    .bg-neutral-900 { background: #171717; }
    .bg-gradient-to-br.from-orange-50 { background: linear-gradient(135deg,#fff7ed,#fff); }
    .text-neutral-300 { color: #d4d4d4; } .text-neutral-400 { color: #a3a3a3; }
    .text-neutral-500 { color: #737373; } .text-neutral-600 { color: #525252; }
    .text-white { color: #fff; } .text-orange-600 { color: #ea580c; }
    .text-sm { font-size: .875rem; } .text-xl { font-size: 1.25rem; line-height: 1.75rem; }
    .text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
    .font-medium { font-weight: 500; } .font-semibold { font-weight: 600; }
    .leading-relaxed { line-height: 1.625; } .leading-tight { line-height: 1.25; }
    .tracking-tight { letter-spacing: -0.025em; } .tracking-wide { letter-spacing: 0.025em; }
    .text-center { text-align: center; } .w-full { width: 100%; }
    .flex { display: flex; } .inline-flex { display: inline-flex; }
    .flex-col { flex-direction: column; } .flex-wrap { flex-wrap: wrap; }
    .items-center { align-items: center; } .justify-between { justify-content: space-between; }
    .gap-4 { gap: 1rem; } .gap-6 { gap: 1.5rem; } .gap-8 { gap: 2rem; } .gap-12 { gap: 3rem; }
    .grid { display: grid; } .border-t { border-top: 1px solid; }
    .border-neutral-800 { border-color: #262626; }
    .rounded-full { border-radius: 9999px; }
    .space-y-3 > * + * { margin-top: .75rem; }
    .blog-post-meta-bar { display: flex !important; align-items: center !important; justify-content: space-between !important; flex-wrap: wrap !important; gap: 20px !important; margin-top: 32px !important; padding-top: 24px !important; border-top: 1px solid rgba(0,0,0,.06) !important; }
    .blog-post-author { display: flex !important; align-items: center !important; gap: 14px !important; }
    .blog-post-meta-details { display: flex !important; align-items: center !important; gap: 20px !important; font-size: 13px !important; color: #525252 !important; }
    .blog-post-meta-details span { display: inline-flex !important; align-items: center !important; gap: 6px !important; }
    .blog-post-content-layout { display: grid !important; grid-template-columns: 220px 1fr !important; gap: 64px !important; align-items: start !important; }
    .md\:grid-cols-4 { grid-template-columns: repeat(4,minmax(0,1fr)); }
    .md\:col-span-2  { grid-column: span 2/span 2; }
    .md\:flex-row    { flex-direction: row; }
    @media(max-width:767px){
      header > div { padding: 16px 20px; }
      header nav { display: none !important; }
      .mobile-menu-btn { display: flex !important; align-items: center; justify-content: center; background: none; border: none; cursor: pointer; color: #171717; }
      .md\:grid-cols-4 { grid-template-columns: 1fr !important; }
      .md\:col-span-2 { grid-column: span 1 !important; }
      .blog-post-content-layout { grid-template-columns: 1fr !important; gap: 0 !important; }
      .blog-post-meta-bar { flex-direction: column !important; align-items: flex-start !important; }
    }
    @media(min-width:768px){ .md\:flex-row { flex-direction: row !important; } }
    @media(min-width:1024px){ .lg\:px-8 { padding-left: 2rem; padding-right: 2rem; } }

    /* ── FULL DESIGN SYSTEM (style.css + blog.css inlined) ── */
/* ========================================
   CORPORATE DESIGN SYSTEM - KBG GROUP
   Premium aluminium manufacturing brand
======================================== */

/* BASE RESET & TYPOGRAPHY */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* BRAND COLORS */
  --brand-orange: #ef7f1b;
  --brand-orange-dark: #d97017;
  --brand-orange-light: #f89d4e;
  
  /* NEUTRALS */
  --neutral-50: #fafafa;
  --neutral-100: #f5f5f5;
  --neutral-200: #e5e5e5;
  --neutral-300: #d4d4d4;
  --neutral-600: #525252;
  --neutral-700: #404040;
  --neutral-800: #262626;
  --neutral-900: #171717;
  
  /* SURFACES */
  --surface-white: #ffffff;
  --surface-glass: rgba(255, 255, 255, 0.95);
  
  /* SHADOWS */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  
  /* PREMIUM EASING */
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-premium: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--neutral-800);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: var(--surface-white);
}

/* SMOOTH SCROLLING */
html {
  scroll-behavior: smooth;
}

/* ========================================
   HEADER SYSTEM
======================================== */

header {
  background: var(--surface-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.4s var(--ease-premium);
}

header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  border-bottom-color: rgba(0, 0, 0, 0.08);
}

/* LOGO SYSTEM */
.logo-wrapper {
  display: flex;
  align-items: center;
  text-decoration: none;
  gap: 4px;
}

.logo-image {
  height: 45px;
  width: auto;
  object-fit: contain;
  transition: transform 0.3s var(--ease-smooth);
}

.logo-wrapper:hover .logo-image {
  transform: scale(1.05);
}

/* Keep text logo as fallback */
.logo-text {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--neutral-900);
}

.logo-tagline {
  font-size: 20px;
  font-weight: 400;
  color: var(--brand-orange);
}

/* NAVIGATION */
.nav-link {
  color: var(--neutral-700);
  text-decoration: none;
  position: relative;
  transition: color 0.3s var(--ease-smooth);
  padding: 8px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--brand-orange);
  transition: width 0.3s var(--ease-premium);
}

.nav-link:hover {
  color: var(--brand-orange);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link.has-dropdown::after {
  content: none !important;
}

.nav-link-cta {
  color: var(--surface-white);
  background: var(--brand-orange);
  padding: 10px 24px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s var(--ease-smooth);
  font-weight: 500;
}

.nav-link-cta:hover {
  background: var(--brand-orange-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* ========================================
   PRODUCTS DROPDOWN MENU
======================================== */

.nav-link-wrapper {
  position: relative;
}

.products-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: white;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  padding: 16px 0;
  min-width: 280px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s var(--ease-premium);
  z-index: 100;
  margin-top: 8px;
}

.nav-link-wrapper:hover .products-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.products-dropdown::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 12px;
  height: 12px;
  background: white;
  rotate: 45deg;
  box-shadow: -2px -2px 4px rgba(0, 0, 0, 0.04);
}

.dropdown-link {
  display: block;
  padding: 12px 24px;
  color: var(--neutral-700);
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s var(--ease-smooth);
  position: relative;
  text-decoration: none;
}

.dropdown-link:hover {
  background: var(--neutral-50);
  color: var(--brand-orange);
  padding-left: 32px;
}

.dropdown-link::before {
  content: '';
  position: absolute;
  left: 24px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 2px;
  background: var(--brand-orange);
  transition: width 0.2s var(--ease-smooth);
}

.dropdown-link:hover::before {
  width: 8px;
  left: 20px;
}

.nav-link.has-dropdown {
  display: inline-flex !important;
  align-items: center !important;
  flex-direction: row !important;
}

.nav-link.has-dropdown::before {
  content: '▼';
  font-size: 9px;
  color: #2d2d2d;
  line-height: 1;
  margin-left: 5px;
  order: 2;
  transition: transform 0.3s var(--ease-smooth);
}

.nav-link.has-dropdown::after {
  display: none !important;
}

.nav-link-wrapper:hover .nav-link.has-dropdown::before {
  transform: rotate(180deg);
}

/* ========================================
   MOBILE MENU STYLES
======================================== */

.mobile-menu {
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  background: #ffffff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  transform: translateY(-100%);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 40;
  max-height: calc(100vh - 70px);
  overflow-y: auto;
}

.mobile-menu.active {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  padding: 16px 0;
  gap: 0;
}

.mobile-nav-links .nav-link,
.mobile-nav-links .nav-link-cta {
  display: block;
  padding: 12px 28px;
  font-size: 15px;
  font-weight: 500;
  transition: all 0.2s ease;
  position: relative;
  border: none;
  background: transparent;
  text-align: left;
}

.mobile-nav-links .nav-link {
  color: #2d2d2d;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.mobile-nav-links .nav-link:active {
  background: rgba(239, 127, 27, 0.08);
}

.mobile-nav-links .nav-link-cta {
  margin: 16px 24px 16px 24px;
  text-align: center;
  background: var(--brand-orange);
  color: white;
  border-radius: 8px;
  font-weight: 600;
  border-bottom: none;
  box-shadow: 0 2px 8px rgba(239, 127, 27, 0.25);
}

.mobile-nav-links .nav-link-cta:active {
  background: #d96d16;
  transform: scale(0.98);
}

/* Mobile Menu Backdrop */
.mobile-menu-backdrop {
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s var(--ease-smooth);
  z-index: 39;
}

body.mobile-menu-open .mobile-menu-backdrop {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-btn {
  position: relative;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: rgba(239, 127, 27, 0.1);
  border: 2px solid transparent;
  color: var(--neutral-900);
  padding: 8px;
  border-radius: 8px;
  transition: all 0.3s var(--ease-smooth);
}

.mobile-menu-btn:hover {
  background: rgba(239, 127, 27, 0.15);
  border-color: var(--brand-orange);
}

.mobile-menu-btn:active {
  transform: scale(0.95);
}

.mobile-menu-btn svg {
  transition: transform 0.3s var(--ease-smooth);
}

.mobile-menu-btn.active svg line:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
  transform-origin: center;
}

.mobile-menu-btn.active svg line:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active svg line:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
  transform-origin: center;
}

body.mobile-menu-open {
  overflow: hidden;
}

@media (min-width: 768px) {
  .mobile-menu {
    display: none;
  }
}

/* ========================================
   HERO SECTION
======================================== */

.hero-section {
  position: relative;
  min-height: 100vh;
}

.hero-image-wrapper {
  position: absolute;
  inset: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  animation: heroZoom 20s ease-in-out infinite alternate;
}

@keyframes heroZoom {
  0% { transform: scale(1.05); }
  100% { transform: scale(1.15); }
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.75) 0%,
    rgba(0, 0, 0, 0.45) 50%,
    rgba(0, 0, 0, 0.25) 100%
  );
}

.hero-content {
  padding-top: 6rem;
  animation: heroFadeIn 1.2s var(--ease-premium);
}

@keyframes heroFadeIn {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* HERO BADGE */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(239, 127, 27, 0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(239, 127, 27, 0.3);
  color: var(--brand-orange-light);
  padding: 10px 18px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 32px;
  animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.02); }
}

.hero-badge svg {
  width: 16px;
  height: 16px;
}

/* HERO TYPOGRAPHY */
.hero-title {
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--surface-white);
  margin-bottom: 24px;
}

.hero-description {
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 40px;
  max-width: 650px;
}

/* HERO BUTTONS */
.hero-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--brand-orange);
  color: var(--surface-white);
  padding: 16px 32px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s var(--ease-premium);
  box-shadow: 0 4px 12px rgba(239, 127, 27, 0.3);
}

.btn-primary:hover {
  background: var(--brand-orange-dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(239, 127, 27, 0.4);
}

.btn-primary svg {
  transition: transform 0.3s var(--ease-premium);
}

.btn-primary:hover svg {
  transform: translateX(4px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  color: var(--surface-white);
  padding: 16px 32px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s var(--ease-premium);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-3px);
}

/* ISO CERTIFICATION LINK */
.iso-certification-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s var(--ease-premium);
  margin-bottom: 48px;
  padding: 4px 0;
  border-bottom: 1px solid transparent;
}

.iso-certification-link:hover {
  color: var(--surface-white);
  border-bottom-color: rgba(255, 255, 255, 0.4);
  gap: 10px;
}

.iso-certification-link svg {
  width: 16px;
  height: 16px;
  stroke: var(--brand-orange-light);
  flex-shrink: 0;
  transition: transform 0.3s var(--ease-premium);
}

.iso-certification-link:hover svg {
  transform: scale(1.1) rotate(10deg);
}

/* HERO STATS */
.hero-stats {
  display: flex;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-value {
  font-size: 32px;
  font-weight: 700;
  color: var(--surface-white);
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 500;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.2);
}

/* SCROLL INDICATOR */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  animation: scrollFloat 2s ease-in-out infinite;
}

@keyframes scrollFloat {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 8px); }
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.5));
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

.scroll-text {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 600;
}

@media (max-width: 768px) {
  .scroll-indicator {
    display: none;
  }
}

/* ========================================
   SECTION SYSTEM
======================================== */

.section-wrapper {
  position: relative;
  overflow: hidden;
}

.section-header {
  max-width: 800px;
  margin-bottom: 64px;
}

.section-header.text-center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-header.text-center .section-eyebrow,
.section-header.text-center .section-title,
.section-header.text-center .section-description {
  margin-left: auto;
  margin-right: auto;
}

.section-eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--brand-orange);
  margin-bottom: 16px;
}

.section-eyebrow-dark {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--brand-orange-light);
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--neutral-900);
  margin-bottom: 20px;
}

.section-description {
  font-size: 18px;
  line-height: 1.75;
  color: var(--neutral-600);
}

/* ========================================
   PRODUCT GRID
======================================== */

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 32px;
}

/* ==============================
   PRODUCT CARD
============================== */
.product-card {
  background: var(--surface-white);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  padding: 32px;
  position: relative;

  display: flex;
  flex-direction: column;
  gap: 20px;

  /* Premium smooth animation */
  transition:
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.35s ease;

  will-change: transform, box-shadow;
  transform: translateZ(0);
}

/* Gradient border */
.product-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  padding: 1px;

  background: linear-gradient(135deg, var(--brand-orange), transparent);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;

  opacity: 0;
  transition: opacity 0.45s ease;
  pointer-events: none;
}

.product-card:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.12);
  border-color: var(--brand-orange);
}

.product-card:hover::before {
  opacity: 1;
}

/* ==============================
   ICON
============================== */
.product-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;

  background: linear-gradient(
    135deg,
    rgba(239, 127, 27, 0.1),
    rgba(239, 127, 27, 0.05)
  );

  transition: 
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    background 0.4s ease;
}

.product-card:hover .product-icon {
  background: linear-gradient(
    135deg,
    var(--brand-orange),
    var(--brand-orange-dark)
  );
  transform: scale(1.08);
}

.product-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--brand-orange);
  transition: stroke 0.35s ease;
}

.product-card:hover .product-icon svg {
  stroke: var(--surface-white);
}

/* ==============================
   CONTENT
============================== */
.product-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.product-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--neutral-900);
  letter-spacing: -0.01em;
}

.product-description {
  font-size: 15px;
  line-height: 1.7;
  color: var(--neutral-600);
}

/* ==============================
   FEATURES LIST
============================== */
.product-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
}

.product-features li {
  font-size: 14px;
  color: var(--neutral-700);
  padding-left: 20px;
  position: relative;
}

.product-features li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--brand-orange);
  font-weight: 600;
}

/* ==============================
   LINK
============================== */
.product-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;

  font-size: 14px;
  font-weight: 600;
  color: var(--brand-orange);
  text-decoration: none;

  transition: 
    gap 0.3s ease,
    color 0.3s ease;
}

.product-link:hover {
  gap: 12px;
  color: var(--brand-orange-dark);
}

.product-link svg {
  transition: transform 0.3s ease;
}

.product-link:hover svg {
  transform: translateX(4px);
}

/* ========================================
   LOUVER CARD STYLES (3x3 GRID)
======================================== */

.louver-card {
  background: var(--surface-white);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.4s var(--ease-premium);
  position: relative;
}

.louver-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  padding: 1px;
  background: linear-gradient(135deg, var(--brand-orange), transparent);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s var(--ease-premium);
  pointer-events: none;
}

.louver-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--brand-orange);
}

.louver-card:hover::before {
  opacity: 1;
}

.louver-image {
  width: 100%;
  height: 240px;
  overflow: hidden;
  position: relative;
}

.louver-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-premium);
}

.louver-card:hover .louver-image img {
  transform: scale(1.08);
}

.louver-content {
  padding: 24px;
}

.louver-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--neutral-900);
  letter-spacing: -0.01em;
  margin-bottom: 12px;
  line-height: 1.3;
}

.louver-description {
  font-size: 14px;
  line-height: 1.6;
  color: var(--neutral-600);
  background: #fdf8f3;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
  padding: 16px;
  border-radius: 10px;
  border: 1px solid #fcebd6;
}

@media (max-width: 768px) {
  .louver-image {
    height: 200px;
  }
  
  .louver-content {
    padding: 20px;
  }
  
  .louver-title {
    font-size: 16px;
  }
  
  .louver-description {
    font-size: 13px;
  }
}

/* ========================================
   INDUSTRIES SECTION
======================================== */

.industries-grid-refined {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.industry-card {
  background: var(--surface-white);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 14px;
  padding: 32px;
  transition: all 0.4s var(--ease-premium);
  position: relative;
}

.industry-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-orange), var(--brand-orange-light));
  border-radius: 14px 14px 0 0;
  transition: width 0.4s var(--ease-premium);
}

.industry-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(239, 127, 27, 0.2);
}

.industry-card:hover::after {
  width: 100%;
}

.industry-card-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(239, 127, 27, 0.1), rgba(239, 127, 27, 0.05));
  border-radius: 10px;
  margin-bottom: 20px;
  transition: all 0.4s var(--ease-premium);
}

.industry-card:hover .industry-card-icon {
  background: linear-gradient(135deg, var(--brand-orange), var(--brand-orange-dark));
  transform: scale(1.05) rotate(-5deg);
}

.industry-card-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--brand-orange);
  transition: stroke 0.4s var(--ease-premium);
}

.industry-card:hover .industry-card-icon svg {
  stroke: var(--surface-white);
}

.industry-card-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--neutral-900);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.industry-card-description {
  font-size: 14px;
  line-height: 1.7;
  color: var(--neutral-600);
}

/* COMPANY INFO BAR */
.company-info-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 64px;
  padding: 28px 40px;
  background: var(--surface-white);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
}

.info-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--neutral-700);
}

.info-item svg {
  color: var(--brand-orange);
  flex-shrink: 0;
}

.info-divider {
  width: 1px;
  height: 24px;
  background: rgba(0, 0, 0, 0.1);
}

/* ========================================
   PROJECTS SECTION
======================================== */

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 40px;
}

.project-card {
  background: var(--surface-white);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.4s var(--ease-premium);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(239, 127, 27, 0.2);
}

.project-image {
  position: relative;
  height: 280px;
  background: linear-gradient(135deg, #e5e7eb 0%, #f3f4f6 100%);
  overflow: hidden;
}

.project-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 30% 30%,
    rgba(239, 127, 27, 0.15),
    transparent 70%
  );
}

.project-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  color: var(--surface-white);
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.4s var(--ease-premium);
}

.project-card:hover .project-overlay {
  opacity: 1;
}

.project-overlay-link {
  color: var(--surface-white);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  padding: 10px 24px;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  border-radius: 8px;
  transition: all 0.3s var(--ease-smooth);
}

.project-overlay-link:hover {
  background: var(--surface-white);
  color: var(--neutral-900);
  border-color: var(--surface-white);
}

.project-content {
  padding: 28px;
}

.project-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--neutral-900);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.project-category {
  font-size: 13px;
  font-weight: 600;
  color: var(--brand-orange);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.project-scope {
  font-size: 14px;
  line-height: 1.7;
  color: var(--neutral-600);
  margin-bottom: 16px;
}

.project-meta {
  display: flex;
  gap: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--neutral-600);
}

.meta-item svg {
  color: var(--brand-orange);
  flex-shrink: 0;
}

/* ========================================
   WHY KBG / BENEFITS SECTION
======================================== */

.benefit-card {
  display: flex;
  gap: 24px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 28px;
  transition: all 0.3s var(--ease-premium);
}

.benefit-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateX(8px);
}

.benefit-number {
  font-size: 28px;
  font-weight: 700;
  color: var(--brand-orange-light);
  line-height: 1;
  flex-shrink: 0;
}

.benefit-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--surface-white);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.benefit-description {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.7);
}

/* ========================================
   CTA SECTION
======================================== */

.btn-primary-large {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--brand-orange);
  color: var(--surface-white);
  padding: 18px 36px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s var(--ease-premium);
  box-shadow: 0 6px 16px rgba(239, 127, 27, 0.3);
}

.btn-primary-large:hover {
  background: var(--brand-orange-dark);
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(239, 127, 27, 0.4);
}

.btn-secondary-large {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--surface-white);
  color: var(--brand-orange);
  border: 2px solid var(--brand-orange);
  padding: 18px 36px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s var(--ease-premium);
}

.btn-secondary-large:hover {
  background: var(--brand-orange);
  color: var(--surface-white);
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(239, 127, 27, 0.3);
}

.contact-info-card {
  background: var(--surface-white);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  padding: 28px;
  text-align: center;
  transition: all 0.3s var(--ease-premium);
}

.contact-info-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--brand-orange);
}

.contact-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(239, 127, 27, 0.1), rgba(239, 127, 27, 0.05));
  border-radius: 12px;
  margin: 0 auto 16px;
  transition: all 0.3s var(--ease-premium);
}

.contact-info-card:hover .contact-icon {
  background: linear-gradient(135deg, var(--brand-orange), var(--brand-orange-dark));
  transform: scale(1.1);
}

.contact-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--brand-orange);
  transition: stroke 0.3s var(--ease-premium);
}

.contact-info-card:hover .contact-icon svg {
  stroke: var(--surface-white);
}

.contact-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--neutral-900);
  margin-bottom: 8px;
}

.contact-detail {
  font-size: 14px;
  line-height: 1.7;
  color: var(--neutral-600);
}

/* ========================================
   FOOTER
======================================== */

.social-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: var(--neutral-400);
  transition: all 0.3s var(--ease-smooth);
  text-decoration: none;
}

.social-link:hover {
  background: var(--brand-orange);
  border-color: var(--brand-orange);
  color: var(--surface-white);
  transform: translateY(-3px);
}

.footer-link {
  color: var(--neutral-400);
  text-decoration: none;
  transition: color 0.3s var(--ease-smooth);
}

.footer-link:hover {
  color: var(--brand-orange);
}

/* ========================================
   RESPONSIVE DESIGN
======================================== */

@media (max-width: 768px) {
  .hero-title {
    font-size: 36px;
  }
  
  .hero-description {
    font-size: 16px;
  }
  
  .hero-actions {
    flex-direction: column;
  }
  
  .btn-primary,
  .btn-secondary {
    width: 100%;
    justify-content: center;
  }
  
  .hero-stats {
    justify-content: space-between;
  }
  
  .section-title {
    font-size: 32px;
  }
  
  .product-grid,
  .industries-grid-refined,
  .projects-grid {
    grid-template-columns: 1fr;
  }
  
  .company-info-bar {
    flex-direction: column;
    gap: 16px;
    padding: 24px;
  }
  
  .info-divider {
    width: 100%;
    height: 1px;
  }
}

/* ========================================
   CLIENTS GRID STYLES
======================================== */

.clients-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 32px 24px;
  align-items: center;
  justify-items: center;
}

.client-logo-card {
  width: 100%;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: var(--surface-white);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 12px;
  transition: all 0.3s var(--ease-smooth);
}

.client-logo-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  border-color: var(--brand-orange);
}

.client-logo-card img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: grayscale(100%) opacity(0.6);
  transition: filter 0.3s var(--ease-smooth);
}

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

@media (max-width: 1024px) {
  .clients-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px 20px;
  }
}

@media (max-width: 640px) {
  .clients-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 16px;
  }
  
  .client-logo-card {
    height: 70px;
    padding: 16px;
  }
}

/* ========================================
   ANIMATIONS ON SCROLL
======================================== */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.section-wrapper > * {
  animation: fadeInUp 0.8s var(--ease-premium);
}

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

/* SELECTION */
::selection {
  background: var(--brand-orange);
  color: var(--surface-white);
}

/* ========================================
   ABOUT PAGE STYLES
======================================== */

/* ABOUT HERO */
.about-hero {
  padding-top: 120px;
  padding-bottom: 80px;
  background: linear-gradient(135deg, var(--neutral-50) 0%, var(--surface-white) 100%);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--neutral-600);
  margin-bottom: 32px;
}

.breadcrumb a {
  color: var(--neutral-600);
  text-decoration: none;
  transition: color 0.3s var(--ease-smooth);
}

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

.breadcrumb span:last-child {
  color: var(--brand-orange);
  font-weight: 600;
}

.about-hero-content {
  max-width: 800px;
}

.about-hero-title {
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--neutral-900);
  margin-bottom: 24px;
}

.about-hero-description {
  font-size: 20px;
  line-height: 1.7;
  color: var(--neutral-600);
  max-width: 700px;
}

/* ABOUT VISUAL CONTAINERS */
.about-visual-container {
  position: relative;
}

.about-image-main {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.about-main-img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  transition: transform 0.6s var(--ease-premium);
}

.about-main-img:hover {
  transform: scale(1.05);
}

.about-badge-float {
  position: absolute;
  bottom: -30px;
  right: 40px;
  background: var(--surface-white);
  border-radius: 16px;
  padding: 24px 28px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  gap: 16px;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.about-badge-float svg {
  color: var(--brand-orange);
  flex-shrink: 0;
}

.badge-float-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--neutral-600);
  font-weight: 600;
  margin-bottom: 4px;
}

.badge-float-value {
  font-size: 20px;
  font-weight: 700;
  color: var(--neutral-900);
  letter-spacing: -0.01em;
}

/* ABOUT TEXT CONTENT */
.about-text-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 32px;
}

.about-text-content p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--neutral-600);
}

.about-cta-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* STATS BANNER */
.stats-banner {
  background: linear-gradient(135deg, var(--brand-orange), var(--brand-orange-dark));
  padding: 64px 0;
}

.stats-banner-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 48px;
}

.stat-banner-item {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--surface-white);
}

.stat-banner-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  flex-shrink: 0;
}

.stat-banner-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--surface-white);
}

.stat-banner-value {
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-banner-label {
  font-size: 14px;
  opacity: 0.9;
}

/* CAPABILITIES GRID */
.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  margin-top: 48px;
}

.capability-card {
  background: var(--surface-white);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  padding: 36px;
  transition: all 0.4s var(--ease-premium);
  position: relative;
  overflow: hidden;
}

.capability-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: linear-gradient(to bottom, var(--brand-orange), var(--brand-orange-light));
  transition: height 0.4s var(--ease-premium);
}

.capability-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(239, 127, 27, 0.2);
}

.capability-card:hover::before {
  height: 100%;
}

.capability-number {
  font-size: 48px;
  font-weight: 700;
  color: rgba(239, 127, 27, 0.15);
  line-height: 1;
  margin-bottom: 20px;
}

.capability-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--neutral-900);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.capability-description {
  font-size: 15px;
  line-height: 1.7;
  color: var(--neutral-600);
}

/* TECHNOLOGY FEATURES */
.technology-features {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 32px;
}

.tech-feature-item {
  display: flex;
  gap: 20px;
  padding: 20px;
  background: var(--neutral-50);
  border-radius: 12px;
  transition: all 0.3s var(--ease-smooth);
}

.tech-feature-item:hover {
  background: var(--neutral-100);
  transform: translateX(8px);
}

.tech-feature-item svg {
  color: var(--brand-orange);
  flex-shrink: 0;
}

.tech-feature-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--neutral-900);
  margin-bottom: 4px;
}

.tech-feature-desc {
  font-size: 14px;
  color: var(--neutral-600);
}

/* TECH IMAGE GRID */
.tech-image-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.tech-image-item {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.tech-image-item img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: transform 0.6s var(--ease-premium);
}

.tech-image-item:hover img {
  transform: scale(1.1);
}

/* GLOBAL PRESENCE */
.global-presence-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  margin-top: 48px;
}

.presence-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 32px;
  text-align: center;
  transition: all 0.3s var(--ease-premium);
}

.presence-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-6px);
}

.presence-flag {
  font-size: 48px;
  margin-bottom: 16px;
}

.presence-country {
  font-size: 20px;
  font-weight: 700;
  color: var(--surface-white);
  margin-bottom: 12px;
}

.presence-desc {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.7);
}

/* CERTIFICATIONS */
.certifications-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  margin-top: 48px;
}

.certification-item {
  text-align: center;
}

.cert-badge {
  width: 96px;
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(239, 127, 27, 0.1), rgba(239, 127, 27, 0.05));
  border-radius: 50%;
  margin: 0 auto 24px;
  transition: all 0.4s var(--ease-premium);
}

.certification-item:hover .cert-badge {
  background: linear-gradient(135deg, var(--brand-orange), var(--brand-orange-dark));
  transform: scale(1.1) rotate(5deg);
}

.cert-badge svg {
  stroke: var(--brand-orange);
  transition: stroke 0.4s var(--ease-premium);
}

.certification-item:hover .cert-badge svg {
  stroke: var(--surface-white);
}

.cert-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--neutral-900);
  margin-bottom: 12px;
}

.cert-description {
  font-size: 15px;
  line-height: 1.7;
  color: var(--neutral-600);
}

/* RESPONSIVE - ABOUT PAGE */
@media (max-width: 1024px) {
  .capabilities-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
  
  .tech-image-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .about-hero {
    padding-top: 100px;
    padding-bottom: 60px;
  }
  
  .about-hero-title {
    font-size: 36px;
  }
  
  .about-main-img {
    height: 350px;
  }
  
  .about-badge-float {
    bottom: -20px;
    right: 20px;
    padding: 20px;
  }
  
  .stats-banner-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .capabilities-grid {
    grid-template-columns: 1fr;
  }
  
  .global-presence-grid {
    grid-template-columns: 1fr;
  }
  
  .certifications-grid {
    grid-template-columns: 1fr;
  }
  
  .about-cta-group {
    flex-direction: column;
  }
  
  .btn-primary,
  .btn-secondary {
    width: 100%;
    justify-content: center;
  }
}

/* ========================================
   PRODUCTS PAGE STYLES
======================================== */

/* PRODUCTS HERO */
.products-hero {
  padding-top: 120px;
  padding-bottom: 80px;
  background: linear-gradient(135deg, var(--neutral-50) 0%, var(--surface-white) 100%);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.products-hero-content {
  max-width: 900px;
}

.products-hero-title {
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--neutral-900);
  margin-bottom: 24px;
}

.products-hero-description {
  font-size: 20px;
  line-height: 1.7;
  color: var(--neutral-600);
  max-width: 800px;
}

/* PRODUCT CATEGORY GRID */
.products-category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(480px, 1fr));
  gap: 40px;
}

.product-category-card {
  background: var(--surface-white);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.4s var(--ease-premium);
  text-decoration: none;
  display: block;
}

.product-category-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--brand-orange);
}

.category-card-image {
  position: relative;
  height: 280px;
  overflow: hidden;
}

.category-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-premium);
}

.product-category-card:hover .category-card-image img {
  transform: scale(1.1);
}

.category-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 32px;
  opacity: 0;
  transition: opacity 0.4s var(--ease-premium);
}

.product-category-card:hover .category-overlay {
  opacity: 1;
}

.category-view-btn {
  background: var(--surface-white);
  color: var(--neutral-900);
  padding: 12px 28px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s var(--ease-smooth);
}

.category-view-btn:hover {
  background: var(--brand-orange);
  color: var(--surface-white);
  transform: translateY(-2px);
}

.category-card-content {
  padding: 32px;
}

.category-card-number {
  font-size: 56px;
  font-weight: 700;
  color: rgba(239, 127, 27, 0.12);
  line-height: 1;
  margin-bottom: 16px;
}

.category-card-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--neutral-900);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
  transition: color 0.3s var(--ease-smooth);
}

.product-category-card:hover .category-card-title {
  color: var(--brand-orange);
}

.category-card-description {
  font-size: 15px;
  line-height: 1.7;
  color: var(--neutral-600);
  margin-bottom: 20px;
}

.category-card-products {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.product-tag {
  display: inline-block;
  padding: 6px 14px;
  background: var(--neutral-50);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--neutral-700);
  transition: all 0.3s var(--ease-smooth);
}

.product-category-card:hover .product-tag {
  background: rgba(239, 127, 27, 0.1);
  border-color: rgba(239, 127, 27, 0.3);
  color: var(--brand-orange);
}

/* PRODUCT BENEFITS GRID */
.product-benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
  margin-top: 48px;
}

.benefit-feature-card {
  text-align: center;
  padding: 32px 24px;
  background: var(--surface-white);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 16px;
  transition: all 0.3s var(--ease-premium);
}

.benefit-feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(239, 127, 27, 0.2);
}

.benefit-icon {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(239, 127, 27, 0.1), rgba(239, 127, 27, 0.05));
  border-radius: 50%;
  margin: 0 auto 20px;
  transition: all 0.4s var(--ease-premium);
}

.benefit-feature-card:hover .benefit-icon {
  background: linear-gradient(135deg, var(--brand-orange), var(--brand-orange-dark));
  transform: scale(1.1) rotate(5deg);
}

.benefit-icon svg {
  width: 32px;
  height: 32px;
  stroke: var(--brand-orange);
  transition: stroke 0.4s var(--ease-premium);
}

.benefit-feature-card:hover .benefit-icon svg {
  stroke: var(--surface-white);
}

.benefit-feature-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--neutral-900);
  margin-bottom: 8px;
}

.benefit-feature-desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--neutral-600);
}

/* RESPONSIVE - PRODUCTS PAGE */
@media (max-width: 768px) {
  .products-hero {
    padding-top: 100px;
    padding-bottom: 60px;
  }
  
  .products-hero-title {
    font-size: 36px;
  }
  
  .products-category-grid {
    grid-template-columns: 1fr;
  }
  
  .product-benefits-grid {
    grid-template-columns: 1fr;
  }
}

/* ========================================
   PRODUCT DETAIL PAGES STYLES
======================================== */

.product-detail-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
  margin-bottom: 80px;
  padding-bottom: 80px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.product-detail-card:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.product-detail-image {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: sticky;
  top: 120px;
}

.product-detail-image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  transition: transform 0.6s var(--ease-premium);
}

.product-detail-card:hover .product-detail-image img {
  transform: scale(1.05);
}

.product-detail-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.product-detail-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--neutral-900);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.product-detail-description {
  font-size: 16px;
  line-height: 1.8;
  color: var(--neutral-600);
}

.product-features {
  background: var(--neutral-50);
  border-radius: 16px;
  padding: 32px;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.features-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--neutral-900);
  margin-bottom: 20px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: var(--surface-white);
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: all 0.3s var(--ease-smooth);
}

.feature-item:hover {
  border-color: var(--brand-orange);
  transform: translateX(4px);
}

.feature-item svg {
  width: 20px;
  height: 20px;
  stroke: var(--brand-orange);
  flex-shrink: 0;
}

.feature-item span {
  font-size: 14px;
  font-weight: 600;
  color: var(--neutral-700);
}

.product-applications {
  background: var(--surface-white);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  padding: 24px;
}

.applications-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--neutral-900);
  margin-bottom: 16px;
}

.applications-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.applications-list li {
  font-size: 15px;
  color: var(--neutral-600);
  padding-left: 28px;
  position: relative;
}

.applications-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--brand-orange);
  font-weight: 700;
}

.product-specs {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px;
  background: linear-gradient(135deg, rgba(239, 127, 27, 0.05), rgba(239, 127, 27, 0.02));
  border-radius: 12px;
  border: 1px solid rgba(239, 127, 27, 0.15);
}

.spec-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.spec-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--neutral-600);
  font-weight: 700;
}

.spec-value {
  font-size: 15px;
  color: var(--neutral-900);
  font-weight: 600;
}

/* RESPONSIVE - PRODUCT DETAIL */
@media (max-width: 1024px) {
  .product-detail-card {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .product-detail-image {
    position: relative;
    top: 0;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .product-benefits-grid {
    grid-template-columns: 1fr;
  }
}

.bg-gradient-to-br {
  margin-top: 5rem;
}

.cta-full-bleed {
  width: 100vw;
  margin-left: 50%;
  transform: translateX(-50%);
}

/* ── 3-Column Products Grid ── */
.products-grid-3col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

@media (max-width: 1024px) {
  .products-grid-3col {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .products-grid-3col {
    grid-template-columns: 1fr;
  }
}

.product-grid-card {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.product-grid-card:hover {
  box-shadow: 0 16px 48px rgba(239, 127, 27, 0.12), 0 4px 16px rgba(0, 0, 0, 0.06);
  transform: translateY(-4px);
  border-color: var(--brand-orange);
}

.product-grid-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #f5f5f5;
}

.product-grid-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.product-grid-card:hover .product-grid-image img {
  transform: scale(1.04);
}

.product-grid-body {
  padding: 24px;
}

.product-grid-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #171717;
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}

.product-grid-subtitle {
  font-size: 0.8rem;
  color: var(--brand-orange);
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: 0.02em;
}

.product-grid-desc {
  font-size: 0.875rem;
  line-height: 1.6;
  color: #525252;
  margin-bottom: 20px;
}

.product-grid-specs {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
  padding: 16px;
  background: #fdf8f3;
  border-radius: 10px;
  border: 1px solid #fcebd6;
}

.grid-spec {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 0.8rem;
}

.grid-spec-label {
  color: var(--brand-orange-light);
  font-weight: 500;
  flex-shrink: 0;
  margin-right: 12px;
}

.grid-spec-value {
  color: #171717;
  font-weight: 600;
  text-align: right;
}

.product-grid-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.grid-tag {
  font-size: 0.7rem;
  font-weight: 500;
  padding: 4px 10px;
  background: linear-gradient(135deg, #fef3e7, #fdf8f3);
  color: #b5621a;
  border-radius: 100px;
  letter-spacing: 0.01em;
  border: 1px solid #fce0c3;
}

/* ── Product Grid Badge ── */
.product-grid-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 5px 12px;
  background: var(--brand-orange);
  color: #fff;
  border-radius: 100px;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(239, 127, 27, 0.3);
}

.product-grid-image {
  position: relative;
}

/* ── Image bottom gradient overlay ── */
.product-grid-image::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(to top, rgba(0,0,0,0.08), transparent);
  pointer-events: none;
  z-index: 1;
}

/* ── Category Section Headings ── */
.category-heading {
  margin-bottom: 40px;
}

.category-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 5px 14px;
  background: linear-gradient(135deg, #fef3e7, #fdf8f3);
  color: var(--brand-orange);
  border: 1px solid #fce0c3;
  border-radius: 100px;
  margin-bottom: 16px;
}

.category-title {
  font-size: 2rem;
  font-weight: 800;
  color: #171717;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  position: relative;
  padding-bottom: 16px;
}

.category-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 48px;
  height: 3px;
  background: var(--brand-orange);
  border-radius: 2px;
}

.category-desc {
  font-size: 0.95rem;
  color: #737373;
  line-height: 1.6;
  max-width: 640px;
  margin-top: 12px;
}

/* ========================================
   TAILWIND CONFLICT OVERRIDES
   Ensures custom styles win over Tailwind CDN runtime injection
======================================== */

/* Dropdown: force hidden by default */
.products-dropdown {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none;
}

.nav-link-wrapper:hover .products-dropdown {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto;
}

/* Blog post header elements - ensure flex layout */
.blog-post-meta-bar {
  display: flex !important;
}

.blog-post-author {
  display: flex !important;
  align-items: center;
}

.blog-post-meta-details {
  display: flex !important;
  align-items: center;
}

.blog-post-meta-details span {
  display: inline-flex !important;
  align-items: center;
}

/* Ensure header stays fixed and styled */
header {
  position: fixed !important;
  width: 100% !important;
  top: 0 !important;
  z-index: 50 !important;
}

/* Ensure nav items are properly spaced */
.nav-link-wrapper {
  position: relative !important;
}
/* ========================================
   BLOG PAGES STYLES — KBG GROUP
   Extends the core style.css design system
======================================== */

/* ── BLOG FEATURED CARD ── */
.blog-featured-card {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  background: var(--surface-white);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 20px;
  overflow: hidden;
  text-decoration: none;
  transition: all 0.4s var(--ease-premium);
}

.blog-featured-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: var(--brand-orange);
}

.blog-featured-image {
  position: relative;
  height: 100%;
  min-height: 360px;
  overflow: hidden;
}

.blog-featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-premium);
}

.blog-featured-card:hover .blog-featured-image img {
  transform: scale(1.08);
}

.blog-featured-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, transparent 60%, rgba(0, 0, 0, 0.05));
}

.blog-featured-content {
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}

.blog-featured-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--neutral-900);
  line-height: 1.25;
  letter-spacing: -0.02em;
  transition: color 0.3s var(--ease-smooth);
}

.blog-featured-card:hover .blog-featured-title {
  color: var(--brand-orange);
}

.blog-featured-excerpt {
  font-size: 15px;
  line-height: 1.7;
  color: var(--neutral-600);
}

.blog-card-readmore {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  color: var(--brand-orange);
  transition: gap 0.3s var(--ease-smooth);
  margin-top: 8px;
}

.blog-featured-card:hover .blog-card-readmore {
  gap: 12px;
}

/* ── BLOG CARD META ── */
.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 13px;
}

.blog-card-category {
  display: inline-block;
  padding: 4px 12px;
  background: linear-gradient(135deg, rgba(239, 127, 27, 0.1), rgba(239, 127, 27, 0.05));
  color: var(--brand-orange);
  font-weight: 700;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: 100px;
  border: 1px solid rgba(239, 127, 27, 0.2);
}

.blog-card-date {
  color: var(--neutral-600);
  font-weight: 500;
}

.blog-card-read {
  color: var(--neutral-600);
  font-weight: 500;
}

.blog-card-read::before {
  content: '·';
  margin-right: 12px;
  color: var(--neutral-300);
}

/* ── BLOG FILTER BAR ── */
.blog-filter-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding: 24px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.blog-filter-btn {
  padding: 8px 20px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 100px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: transparent;
  color: var(--neutral-600);
  cursor: pointer;
  transition: all 0.3s var(--ease-smooth);
}

.blog-filter-btn:hover {
  border-color: var(--brand-orange);
  color: var(--brand-orange);
  background: rgba(239, 127, 27, 0.05);
}

.blog-filter-btn.active {
  background: var(--brand-orange);
  color: var(--surface-white);
  border-color: var(--brand-orange);
}

/* ── BLOG GRID ── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

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

/* ── BLOG CARD ── */
.blog-card {
  background: var(--surface-white);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  display: block;
  transition: all 0.4s var(--ease-premium);
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(239, 127, 27, 0.1), 0 4px 16px rgba(0, 0, 0, 0.06);
  border-color: var(--brand-orange);
}

.blog-card-image {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-premium);
}

.blog-card:hover .blog-card-image img {
  transform: scale(1.06);
}

.blog-card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 5px 14px;
  background: var(--brand-orange);
  color: var(--surface-white);
  border-radius: 100px;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(239, 127, 27, 0.3);
}

.blog-card-image::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.08), transparent);
  pointer-events: none;
}

.blog-card-body {
  padding: 24px;
}

.blog-card-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--neutral-900);
  line-height: 1.35;
  letter-spacing: -0.01em;
  margin: 12px 0 10px;
  transition: color 0.3s var(--ease-smooth);
}

.blog-card:hover .blog-card-title {
  color: var(--brand-orange);
}

.blog-card-excerpt {
  font-size: 14px;
  line-height: 1.65;
  color: var(--neutral-600);
}

/* ── NEWSLETTER FORM ── */
.blog-newsletter-form {
  display: flex;
  gap: 12px;
  max-width: 520px;
  margin: 0 auto;
}

.blog-newsletter-input {
  flex: 1;
  padding: 16px 20px;
  border: 1.5px solid rgba(0, 0, 0, 0.12);
  border-radius: 10px;
  font-size: 15px;
  color: var(--neutral-900);
  background: var(--surface-white);
  transition: all 0.3s var(--ease-smooth);
  outline: none;
}

.blog-newsletter-input::placeholder {
  color: var(--neutral-300);
}

.blog-newsletter-input:focus {
  border-color: var(--brand-orange);
  box-shadow: 0 0 0 3px rgba(239, 127, 27, 0.12);
}


/* ========================================
   BLOG POST PAGE STYLES
======================================== */

/* ── POST HEADER ── */
.blog-post-header {
  padding: 32px 0 40px;
}

.blog-post-category {
  display: inline-block;
  padding: 6px 16px;
  background: linear-gradient(135deg, rgba(239, 127, 27, 0.12), rgba(239, 127, 27, 0.05));
  color: var(--brand-orange);
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: 100px;
  border: 1px solid rgba(239, 127, 27, 0.2);
  margin-bottom: 20px;
}

.blog-post-title {
  font-size: clamp(32px, 4.5vw, 48px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--neutral-900);
  margin-bottom: 20px;
}

.blog-post-subtitle {
  font-size: 19px;
  line-height: 1.7;
  color: var(--neutral-600);
  max-width: 720px;
}

/* ── POST META BAR ── */
.blog-post-meta-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.blog-post-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.blog-post-author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(239, 127, 27, 0.15), rgba(239, 127, 27, 0.05));
  display: flex;
  align-items: center;
  justify-content: center;
}

.blog-post-author-avatar svg {
  stroke: var(--brand-orange);
}

.blog-post-author-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--neutral-900);
}

.blog-post-author-role {
  font-size: 13px;
  color: var(--neutral-600);
}

.blog-post-meta-details {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 13px;
  color: var(--neutral-600);
  font-weight: 500;
}

.blog-post-meta-details span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.blog-post-meta-details svg {
  stroke: var(--brand-orange);
}

/* ── POST HERO IMAGE ── */
.blog-post-hero-image {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.blog-post-hero-image img {
  width: 100%;
  height: 480px;
  object-fit: cover;
}

/* ── POST CONTENT LAYOUT ── */
.blog-post-content-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 64px;
  align-items: start;
}

/* ── TABLE OF CONTENTS ── */
.blog-post-toc {
  position: relative;
}

.blog-post-toc-inner {
  position: sticky;
  top: 100px;
}

.blog-post-toc-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--neutral-900);
  margin-bottom: 16px;
}

.blog-post-toc-nav {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-left: 2px solid rgba(0, 0, 0, 0.06);
}

.blog-post-toc-link {
  display: block;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 500;
  color: var(--neutral-600);
  text-decoration: none;
  transition: all 0.3s var(--ease-smooth);
  border-left: 2px solid transparent;
  margin-left: -2px;
}

.blog-post-toc-link:hover,
.blog-post-toc-link.active {
  color: var(--brand-orange);
  border-left-color: var(--brand-orange);
  background: rgba(239, 127, 27, 0.04);
}

/* ── POST SHARE ── */
.blog-post-share {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.blog-post-share-links {
  display: flex;
  gap: 8px;
}

.blog-share-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--neutral-50);
  border: 1px solid rgba(0, 0, 0, 0.06);
  color: var(--neutral-600);
  transition: all 0.3s var(--ease-smooth);
  text-decoration: none;
}

.blog-share-btn:hover {
  background: var(--brand-orange);
  border-color: var(--brand-orange);
  color: var(--surface-white);
}

.blog-share-btn:hover svg {
  fill: var(--surface-white);
  stroke: var(--surface-white);
}

/* ── ARTICLE BODY ── */
.blog-post-body {
  max-width: 720px;
}

.blog-post-section {
  margin-bottom: 40px;
}

.blog-post-body h2 {
  font-size: 28px;
  font-weight: 700;
  color: var(--neutral-900);
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  padding-top: 16px;
}

.blog-post-body p {
  font-size: 16px;
  line-height: 1.85;
  color: var(--neutral-600);
  margin-bottom: 20px;
}

.blog-post-body p:last-child {
  margin-bottom: 0;
}

/* ── HIGHLIGHT BOX ── */
.blog-highlight-box {
  background: linear-gradient(135deg, rgba(239, 127, 27, 0.06), rgba(239, 127, 27, 0.02));
  border: 1px solid rgba(239, 127, 27, 0.15);
  border-radius: 16px;
  padding: 32px;
  margin: 32px 0;
}

.blog-highlight-box h4 {
  font-size: 18px;
  font-weight: 700;
  color: var(--neutral-900);
  margin-bottom: 20px;
}

.blog-metrics-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.blog-metric-item {
  padding: 16px;
  background: var(--surface-white);
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.blog-metric-value {
  font-size: 15px;
  font-weight: 700;
  color: var(--brand-orange);
  margin-bottom: 6px;
}

.blog-metric-desc {
  font-size: 14px;
  line-height: 1.65;
  color: var(--neutral-600);
}

/* ── STANDARDS LIST ── */
.blog-standards-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 24px 0;
}

.blog-standard-item {
  display: flex;
  gap: 16px;
  align-items: baseline;
  padding: 16px 20px;
  background: var(--neutral-50);
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.blog-standard-code {
  font-size: 13px;
  font-weight: 700;
  color: var(--brand-orange);
  background: rgba(239, 127, 27, 0.1);
  padding: 4px 12px;
  border-radius: 6px;
  white-space: nowrap;
  flex-shrink: 0;
}

.blog-standard-desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--neutral-600);
}

/* ── COMPARISON TABLE ── */
.blog-comparison-table {
  margin: 24px 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.blog-comparison-table table {
  width: 100%;
  border-collapse: collapse;
}

.blog-comparison-table thead {
  background: var(--neutral-900);
}

.blog-comparison-table th {
  padding: 14px 20px;
  font-size: 13px;
  font-weight: 700;
  color: var(--surface-white);
  text-align: left;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.blog-comparison-table td {
  padding: 14px 20px;
  font-size: 14px;
  color: var(--neutral-700);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.blog-comparison-table tbody tr:last-child td {
  border-bottom: none;
}

.blog-comparison-table tbody tr:hover {
  background: rgba(239, 127, 27, 0.04);
}

.blog-comparison-table td strong {
  color: var(--brand-orange);
  font-weight: 700;
}

/* ── BLOCKQUOTE ── */
.blog-post-quote {
  border-left: 4px solid var(--brand-orange);
  padding: 24px 28px;
  margin: 32px 0;
  background: var(--neutral-50);
  border-radius: 0 12px 12px 0;
  font-size: 17px;
  line-height: 1.7;
  color: var(--neutral-700);
  font-weight: 500;
  font-style: italic;
}

/* ── UNORDERED LIST ── */
.blog-post-list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.blog-post-list li {
  font-size: 15px;
  line-height: 1.7;
  color: var(--neutral-600);
  padding-left: 28px;
  position: relative;
}

.blog-post-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-orange);
}

/* ── POST TAGS ── */
.blog-post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.blog-post-tag {
  display: inline-block;
  padding: 6px 16px;
  background: var(--neutral-50);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  color: var(--neutral-700);
  transition: all 0.3s var(--ease-smooth);
}

.blog-post-tag:hover {
  background: rgba(239, 127, 27, 0.1);
  border-color: rgba(239, 127, 27, 0.3);
  color: var(--brand-orange);
}


/* ========================================
   RESPONSIVE — BLOG PAGES
======================================== */

@media (max-width: 1024px) {
  .blog-post-content-layout {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .blog-post-toc {
    display: none;
  }

  .blog-featured-card {
    grid-template-columns: 1fr;
  }

  .blog-featured-image {
    min-height: 260px;
  }
}

@media (max-width: 768px) {
  .blog-grid {
    grid-template-columns: 1fr !important;
  }

  .blog-post-hero-image img {
    height: 280px;
  }

  .blog-post-title {
    font-size: 28px;
  }

  .blog-post-meta-bar {
    flex-direction: column;
    align-items: flex-start;
  }

  .blog-newsletter-form {
    flex-direction: column;
  }

  .blog-filter-bar {
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 16px;
  }

  .blog-filter-bar::-webkit-scrollbar {
    display: none;
  }

  .blog-filter-btn {
    white-space: nowrap;
    flex-shrink: 0;
  }

  .blog-featured-content {
    padding: 28px 24px;
  }

  .blog-featured-title {
    font-size: 22px;
  }

  .blog-highlight-box {
    padding: 24px 20px;
  }

  .blog-standard-item {
    flex-direction: column;
    gap: 8px;
  }
}

/* ========================================
   TAILWIND CONFLICT OVERRIDES — BLOG
======================================== */

.blog-featured-card {
  display: grid !important;
}

.blog-grid {
  display: grid !important;
}

.blog-card {
  display: block !important;
}

.blog-card-image {
  position: relative !important;
  overflow: hidden !important;
}

.blog-card-badge {
  position: absolute !important;
}

.blog-filter-bar {
  display: flex !important;
}

.blog-post-content-layout {
  display: grid !important;
}

.blog-post-toc-inner {
  position: sticky !important;
  top: 100px !important;
}

.blog-post-toc-nav {
  display: flex !important;
  flex-direction: column !important;
}

.blog-highlight-box {
  display: block !important;
}

.blog-standards-list {
  display: flex !important;
  flex-direction: column !important;
}

.blog-standard-item {
  display: flex !important;
}

.blog-comparison-table table {
  width: 100% !important;
  border-collapse: collapse !important;
}

.blog-newsletter-form {
  display: flex !important;
}

.blog-post-share-links {
  display: flex !important;
}

.blog-post-tags {
  display: flex !important;
  flex-wrap: wrap !important;
}

/* ── LAYER 2: HEADER / NAV ── */
/* ── HEADER NAV ── */
header{position:fixed!important;width:100%!important;top:0!important;z-index:50!important;background:rgba(255,255,255,.96);backdrop-filter:blur(12px);border-bottom:1px solid rgba(0,0,0,.05)}
header>div{max-width:80rem;margin:0 auto;padding:10px 32px;display:flex!important;align-items:center!important;justify-content:space-between!important}
header nav{display:flex!important;align-items:center!important;gap:32px;font-size:14px;font-weight:500}
 
/* Hide hamburger on desktop */
.mobile-menu-btn{display:none!important}
 
.products-dropdown{opacity:0!important;visibility:hidden!important;pointer-events:none}
.nav-link-wrapper:hover .products-dropdown{opacity:1!important;visibility:visible!important;pointer-events:auto}
 
/* ── MOBILE OVERRIDES ── */
@media(max-width:767px){
  header>div{padding:4px 16px}
  header nav{display:none!important}
  header .logo-image{max-height:40px!important;width:auto!important}
 
  /* ── HAMBURGER BUTTON ── */
  .mobile-menu-btn{
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    gap:5px!important;
    width:40px!important;
    height:40px!important;
    padding:0!important;
    background:rgba(239,127,27,0.1)!important;
    border:2px solid transparent!important;
    border-radius:8px!important;
    cursor:pointer!important;
    transition:background 0.3s ease, border-color 0.3s ease!important;
  }
  .mobile-menu-btn:hover{
    background:rgba(239,127,27,0.15)!important;
    border-color:#ef7f1b!important;
  }
 
  /* ── THE 3 SPANS — smooth Vriksha-style morph ── */
  .mobile-menu-btn span{
    display:block!important;
    width:20px!important;
    height:2px!important;
    background:#171717!important;
    border-radius:2px!important;
    pointer-events:none!important;
    transform-origin:center center!important;
    will-change:transform,opacity!important;
    transition:
      transform 0.4s cubic-bezier(0.22,1,0.36,1) !important,
      opacity   0.3s ease !important,
      width     0.3s ease !important;
  }
 
  /* ── ACTIVE STATE: spans morph into X ── */
  .mobile-menu-btn.active span:nth-child(1){
    transform:translateY(7px) rotate(45deg)!important;
  }
  .mobile-menu-btn.active span:nth-child(2){
    opacity:0!important;
    width:0!important;
  }
  .mobile-menu-btn.active span:nth-child(3){
    transform:translateY(-7px) rotate(-45deg)!important;
  }
 
  /* ── MOBILE MENU PANEL ── */
  .mobile-menu{
    position:fixed!important;
    top:0!important;
    right:0!important;
    left:auto!important;
    bottom:0!important;
    width:285px!important;
    max-width:88vw!important;
    transform:translateX(110%)!important;
    transition:transform .38s cubic-bezier(.22,1,.36,1)!important;
    z-index:9999!important;
    box-shadow:-6px 0 40px rgba(0,0,0,.2)!important;
    visibility:hidden!important;
    background:#fff!important;
    display:flex!important;
    flex-direction:column!important;
    overflow-y:auto!important;
  }
  .mobile-menu.active{
    transform:translateX(0)!important;
    visibility:visible!important;
  }
  .mobile-menu-backdrop{
    top:0!important;
    z-index:9998!important;
    position:fixed!important;
    inset:0!important;
    background:rgba(0,0,0,.5)!important;
  }
  body.mobile-menu-open{overflow:hidden!important}
}

/* ═══════════════════════════════════════════════════════════════
   LAYER 3: MAGAZINE EDITION
   Editorial typography + journal listing components (jrnl-*)
   ═══════════════════════════════════════════════════════════════ */

:root{
  --serif-display: Georgia, 'Iowan Old Style', Cambria, 'Times New Roman', serif;
  --hairline: 1px solid var(--neutral-200, #e5e5e5);
}

/* ── Editorial typography applied to article pages ── */
.blog-post-title{
  font-family: var(--serif-display);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.14;
}
.blog-post-subtitle{
  font-family: var(--serif-display);
  font-style: italic;
  color: var(--neutral-600, #525252);
}
.blog-post-article h2{
  font-family: var(--serif-display);
  letter-spacing: -0.01em;
}
.blog-post-category{
  letter-spacing: .14em;
  text-transform: uppercase;
}

/* ── Journal masthead ── */
.jrnl-masthead{padding:64px 0 40px;text-align:center;border-bottom:var(--hairline)}
.jrnl-kicker{display:inline-flex;align-items:center;gap:10px;font-size:12px;font-weight:700;letter-spacing:.22em;text-transform:uppercase;color:var(--brand-orange,#ef7f1b)}
.jrnl-kicker::before,.jrnl-kicker::after{content:"";width:36px;height:1px;background:var(--brand-orange,#ef7f1b);opacity:.5}
.jrnl-masthead h1{font-family:var(--serif-display);font-size:clamp(38px,6vw,64px);font-weight:700;letter-spacing:-0.02em;line-height:1.06;color:var(--neutral-900,#171717);margin:18px 0 14px}
.jrnl-deck{font-size:clamp(15px,1.8vw,18px);color:var(--neutral-500,#737373);max-width:640px;margin:0 auto;line-height:1.65}

/* ── Featured story (editorial split) ── */
.jrnl-featured{display:grid;grid-template-columns:7fr 5fr;gap:0;margin:48px 0 0;border:var(--hairline);border-radius:20px;overflow:hidden;background:#fff;text-decoration:none;transition:box-shadow .4s var(--ease-premium,ease),transform .4s var(--ease-premium,ease)}
.jrnl-featured:hover{box-shadow:var(--shadow-xl,0 24px 48px rgba(0,0,0,.12));transform:translateY(-3px)}
.jrnl-featured-media{position:relative;min-height:340px;overflow:hidden}
.jrnl-featured-media img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .8s var(--ease-premium,ease)}
.jrnl-featured:hover .jrnl-featured-media img{transform:scale(1.04)}
.jrnl-featured-flag{position:absolute;top:20px;left:20px;background:var(--brand-orange,#ef7f1b);color:#fff;font-size:11px;font-weight:700;letter-spacing:.16em;text-transform:uppercase;padding:7px 14px;border-radius:999px}
.jrnl-featured-body{padding:clamp(28px,4vw,52px);display:flex;flex-direction:column;justify-content:center}
.jrnl-eyebrow{font-size:11.5px;font-weight:700;letter-spacing:.18em;text-transform:uppercase;color:var(--brand-orange,#ef7f1b);margin-bottom:14px}
.jrnl-featured-title{font-family:var(--serif-display);font-size:clamp(24px,2.6vw,34px);font-weight:700;line-height:1.18;letter-spacing:-0.015em;color:var(--neutral-900,#171717);margin:0 0 14px}
.jrnl-featured-excerpt{font-size:15.5px;line-height:1.7;color:var(--neutral-600,#525252);margin:0 0 22px;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}
.jrnl-meta{display:flex;align-items:center;flex-wrap:wrap;gap:8px;font-size:13px;color:var(--neutral-500,#737373)}
.jrnl-meta b{color:var(--neutral-800,#262626);font-weight:600}
.jrnl-meta-dot{width:3px;height:3px;border-radius:50%;background:var(--neutral-300,#d4d4d4)}
.jrnl-readlink{display:inline-flex;align-items:center;gap:8px;margin-top:22px;font-size:14px;font-weight:600;color:var(--brand-orange,#ef7f1b)}
.jrnl-readlink svg{transition:transform .3s ease}
.jrnl-featured:hover .jrnl-readlink svg{transform:translateX(4px)}

/* ── Filter chips ── */
.jrnl-filters{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin:44px 0 8px}
.jrnl-chip{appearance:none;border:var(--hairline);background:#fff;color:var(--neutral-600,#525252);font-size:13px;font-weight:600;letter-spacing:.02em;padding:9px 18px;border-radius:999px;cursor:pointer;transition:all .25s ease}
.jrnl-chip:hover{border-color:var(--brand-orange,#ef7f1b);color:var(--brand-orange,#ef7f1b)}
.jrnl-chip.active{background:var(--neutral-900,#171717);border-color:var(--neutral-900,#171717);color:#fff}

/* ── Editorial grid ── */
.jrnl-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:36px 28px;margin-top:40px}
.jrnl-card{display:flex;flex-direction:column;text-decoration:none;background:#fff;border:var(--hairline);border-radius:16px;overflow:hidden;transition:box-shadow .35s var(--ease-premium,ease),transform .35s var(--ease-premium,ease)}
.jrnl-card:hover{box-shadow:var(--shadow-lg,0 16px 32px rgba(0,0,0,.10));transform:translateY(-4px)}
.jrnl-card.hidden{display:none}
.jrnl-card-media{position:relative;aspect-ratio:16/10;overflow:hidden;background:var(--neutral-100,#f5f5f5)}
.jrnl-card-media img{width:100%;height:100%;object-fit:cover;transition:transform .7s var(--ease-premium,ease)}
.jrnl-card:hover .jrnl-card-media img{transform:scale(1.05)}
.jrnl-card-body{display:flex;flex-direction:column;flex:1;padding:22px 22px 20px}
.jrnl-card-title{font-family:var(--serif-display);font-size:19px;font-weight:700;line-height:1.3;letter-spacing:-0.01em;color:var(--neutral-900,#171717);margin:8px 0 10px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;transition:color .25s ease}
.jrnl-card:hover .jrnl-card-title{color:var(--brand-orange-dark,#d97017)}
.jrnl-card-excerpt{font-size:14px;line-height:1.65;color:var(--neutral-500,#737373);margin:0 0 16px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.jrnl-card-footer{margin-top:auto;padding-top:14px;border-top:var(--hairline);display:flex;align-items:center;justify-content:space-between;font-size:12.5px;color:var(--neutral-500,#737373)}

/* ── CTA band ── */
.jrnl-cta{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:24px;background:var(--neutral-900,#171717);border-radius:16px;padding:34px 40px}
.jrnl-cta h3{font-family:var(--serif-display);font-size:clamp(20px,2.4vw,27px);font-weight:700;color:#fff;margin:0 0 6px;letter-spacing:-0.01em}
.jrnl-cta p{font-size:14px;color:rgba(255,255,255,.65);margin:0}
.jrnl-cta .btn-primary{white-space:nowrap}

/* ── Empty state ── */
.jrnl-empty{grid-column:1/-1;text-align:center;padding:60px 0;color:var(--neutral-500,#737373);font-size:15px;display:none}

/* ── Responsive ── */
@media(max-width:1023px){
  .jrnl-grid{grid-template-columns:repeat(2,1fr)}
  .jrnl-featured{grid-template-columns:1fr}
  .jrnl-featured-media{min-height:260px}
}
@media(max-width:639px){
  .jrnl-grid{grid-template-columns:1fr;gap:28px}
  .jrnl-masthead{padding:44px 0 30px}
  .jrnl-cta{flex-direction:column;text-align:center;padding:30px 24px}
}

/* ═══════════════════════════════════════════════════════════════
   LAYER 4: NEWS-PAGE ARTICLE COMPONENTS
   Right rail (categories / recent / CTA), in-article global-context
   facts box, related-reading band.
   ═══════════════════════════════════════════════════════════════ */

/* Three-zone layout on wide screens: TOC | article | rail */
@media(min-width:1280px){
  .blog-post-content-layout{grid-template-columns:200px minmax(0,1fr) 292px !important;gap:44px !important}
}
@media(min-width:768px) and (max-width:1279px){
  .jrnl-rail{grid-column:1/-1;display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-top:40px}
}
@media(max-width:767px){
  .jrnl-rail{margin-top:36px}
}

/* ── Right rail ── */
.jrnl-rail{display:flex;flex-direction:column;gap:22px;align-self:start;position:sticky;top:96px}
@media(max-width:1279px){.jrnl-rail{position:static}}
.rail-widget{border:var(--hairline);border-radius:14px;background:#fff;padding:20px 20px 16px}
.rail-title{font-size:11px;font-weight:700;letter-spacing:.18em;text-transform:uppercase;color:var(--brand-orange,#ef7f1b);margin:0 0 14px;display:flex;align-items:center;gap:8px}
.rail-title::after{content:"";flex:1;height:1px;background:var(--neutral-200,#e5e5e5)}

/* Categories */
.rail-cats{list-style:none;margin:0;padding:0}
.rail-cats li{border-bottom:var(--hairline)}
.rail-cats li:last-child{border-bottom:none}
.rail-cats a{display:flex;justify-content:space-between;align-items:center;padding:9px 2px;font-size:13.5px;font-weight:500;color:var(--neutral-700,#404040);text-decoration:none;transition:color .2s ease,padding-left .2s ease}
.rail-cats a:hover{color:var(--brand-orange,#ef7f1b);padding-left:6px}
.rail-cats .count{font-size:11.5px;font-weight:700;color:var(--neutral-400,#a3a3a3);background:var(--neutral-100,#f5f5f5);border-radius:999px;padding:2px 9px}

/* Recent posts */
.rail-post{display:grid;grid-template-columns:62px 1fr;gap:12px;padding:10px 0;border-bottom:var(--hairline);text-decoration:none;align-items:center}
.rail-post:last-of-type{border-bottom:none}
.rail-post img{width:62px;height:48px;object-fit:cover;border-radius:8px;background:var(--neutral-100,#f5f5f5)}
.rail-post-title{font-family:var(--serif-display);font-size:13.5px;font-weight:700;line-height:1.35;color:var(--neutral-800,#262626);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;transition:color .2s ease}
.rail-post:hover .rail-post-title{color:var(--brand-orange-dark,#d97017)}
.rail-post-date{font-size:11.5px;color:var(--neutral-400,#a3a3a3);margin-top:3px}

/* Rail CTA */
.rail-cta{background:var(--neutral-900,#171717);border:none;color:#fff}
.rail-cta .rail-title{color:var(--brand-orange-light,#f89d4e)}
.rail-cta .rail-title::after{background:rgba(255,255,255,.15)}
.rail-cta p{font-size:13px;line-height:1.6;color:rgba(255,255,255,.7);margin:0 0 14px}
.rail-cta .btn-primary{width:100%;justify-content:center;text-align:center;font-size:13.5px}

/* ── In-article "Global Context" facts box ── */
.jrnl-facts{margin:34px 0;border:var(--hairline);border-left:3px solid var(--brand-orange,#ef7f1b);border-radius:0 14px 14px 0;background:linear-gradient(180deg,#fffdfa,#fff);padding:24px 26px 18px}
.jrnl-facts-kicker{font-size:11px;font-weight:700;letter-spacing:.18em;text-transform:uppercase;color:var(--brand-orange,#ef7f1b);display:flex;align-items:center;gap:8px;margin-bottom:6px}
.jrnl-facts-title{font-family:var(--serif-display);font-size:19px;font-weight:700;color:var(--neutral-900,#171717);margin:0 0 14px;letter-spacing:-0.01em}
.jrnl-facts ol{list-style:none;margin:0;padding:0;counter-reset:fact}
.jrnl-facts li{counter-increment:fact;display:grid;grid-template-columns:30px 1fr;gap:12px;padding:10px 0;border-top:var(--hairline);font-size:14px;line-height:1.65;color:var(--neutral-600,#525252)}
.jrnl-facts li::before{content:counter(fact,decimal-leading-zero);font-family:var(--serif-display);font-size:15px;font-weight:700;color:var(--brand-orange,#ef7f1b)}
.jrnl-facts-src{font-size:11.5px;color:var(--neutral-400,#a3a3a3);margin-top:10px;font-style:italic}

/* ── Related reading band ── */
.jrnl-related{background:var(--neutral-50,#fafafa);border-top:var(--hairline);padding:64px 0 72px}
.jrnl-related-head{text-align:center;margin-bottom:36px}
.jrnl-related-head h2{font-family:var(--serif-display);font-size:clamp(24px,3vw,34px);font-weight:700;letter-spacing:-0.015em;color:var(--neutral-900,#171717);margin:12px 0 0}
.jrnl-related .jrnl-grid{margin-top:0}
@media(max-width:1023px){.jrnl-related .jrnl-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:639px){.jrnl-related .jrnl-grid{grid-template-columns:1fr}}
