/* ========================================
   InvestPro
   Ink. Parchment. Brass.
   ======================================== */

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

:root {
  --ink: #0a1628;
  --ink-light: #0d1b2a;
  --ink-card: #111d2e;
  --ink-elevated: #162544;
  --parchment: #ffffff;
  --parchment-muted: #c8cdd5;
  --parchment-dim: #8a95a8;
  --brass: #c9a87c;
  --brass-bright: #d4b88a;
  --brass-muted: rgba(184,149,106,0.10);
  --brass-glow: rgba(184,149,106,0.20);
  --border-dark: rgba(255,255,255,0.06);
  --border-light: rgba(255,255,255,0.10);
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
  --duration: 0.35s;
  /* Theme-aware overlays */
  --hero-text: #ffffff;
  --hero-overlay: linear-gradient(to bottom, rgba(10,22,40,0.40), rgba(10,22,40,0.70));
  --page-header-overlay: linear-gradient(to bottom, rgba(10,22,40,0.40), rgba(10,22,40,0.70));
  --article-hero-overlay: linear-gradient(to bottom, rgba(10,22,40,0.15) 0%, rgba(10,22,40,0.65) 100%);
  --header-scrolled-bg: rgba(10,22,40,0.92);
  --slider-arrow-bg: rgba(10,22,40,0.7);
  --noise-opacity: 0.025;
  --tint-rgb: 255, 255, 255;
}

/* Header + hero locked to dark mode in both themes */
.header.scrolled {
  background: var(--header-scrolled-bg);
  border-bottom-color: var(--border-dark);
}

.hero, .page-header, .article-hero {
  background: var(--ink);
}

.hero-bg::after, .page-header-bg::after {
  background: var(--hero-overlay);
}

.article-hero::after {
  background: var(--article-hero-overlay);
}

.hero h1, .hero-lead, .hero-stat-num, .hero-stat-label,
.page-header h1, .page-header p,
.page-header .label-mono, .page-header .eyebrow,
.page-header .breadcrumb li, .page-header .breadcrumb li a,
.article-hero-content h1, .article-hero-content .article-meta {
  color: #ffffff;
  text-shadow: 0 2px 20px rgba(0,0,0,0.35);
}

.logo {
  color: #ffffff;
}



.nav-cta {
  background: var(--parchment);
  color: var(--ink);
}

.nav-cta:hover {
  background: var(--brass);
  color: var(--ink);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.2rem;
  color: var(--parchment-muted);
  cursor: pointer;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
}

/* Hero buttons locked to dark mode appearance */
.hero .btn-primary {
  background: var(--parchment);
  color: var(--ink);
}

.hero .btn-primary:hover {
  background: var(--brass);
  color: var(--ink);
}

.hero .btn-outline {
  background: transparent;
  color: var(--parchment);
  border-color: rgba(255,255,255,0.08);
}

.hero .btn-outline:hover {
  border-color: var(--brass);
  color: var(--brass);
  background: rgba(184,149,106,0.10);
}

/* Smooth theme transitions — only on elements that actually change theme */
body, .header, .hero, .page-header, .article-hero,
.form-group input, .form-group select, .form-group textarea {
  transition: background-color 0.4s ease, color 0.4s ease, border-color 0.4s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { font-size: 16px; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--parchment-muted);
  background: var(--ink);
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 400;
  line-height: 1.15;
  color: var(--parchment);
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); font-weight: 700; line-height: 0.95; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 600; }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); font-weight: 600; }

h4 {
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--parchment-muted);
}

p {
  color: var(--parchment-muted);
  font-size: 1.05rem;
  line-height: 1.8;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--duration) var(--ease);
}

a:hover { color: var(--brass); }

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
}

.container-wide {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 48px;
}

.label-mono {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--parchment-muted);
}

.eyebrow {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--parchment-muted);
  margin-bottom: 20px;
}

.eyebrow-dot {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 32px;
}

.eyebrow-dot::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brass);
}

.text-brass {
  color: var(--brass);
}

.text-gradient {
  background: linear-gradient(135deg, var(--brass-bright), var(--brass));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 40px rgba(184,149,106,0.15);
}

.text-parchment {
  color: var(--parchment);
}

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

.header {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  z-index: 1000;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.header.scrolled {
  background: var(--header-scrolled-bg);
  backdrop-filter: blur(20px);
  border-bottom-color: var(--border-dark);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 72px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 48px;
}

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--parchment);
  letter-spacing: -0.02em;
  line-height: 1;
}





/* ========================================
   HERO — DARK / TYPOGRAPHY-FIRST (McKinsey-style)
   ======================================== */

.hero-dark {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  background: var(--ink);
  padding-top: 72px;
  overflow: hidden;
}

.hero-dark .hero-content {
  position: relative;
  z-index: 2;
  padding: 80px 0 60px;
}

.hero-dark .hero-inner {
  max-width: 800px;
}

.hero-dark .eyebrow-dot {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
}

.hero-dark h1 {
  font-family: 'Playfair Display', serif;
  font-size: 4.2rem;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--parchment);
  margin-bottom: 28px;
}

.hero-dark .hero-lead {
  font-size: 1.25rem;
  line-height: 1.6;
  color: var(--parchment-muted);
  max-width: 620px;
  margin-bottom: 36px;
}

.hero-dark .hero-actions {
  display: flex;
  gap: 16px;
  align-items: center;
}

.hero-dark .hero-cta-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--parchment);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: transform 0.3s ease, background 0.3s ease;
  cursor: pointer;
  border: none;
}

.hero-dark .hero-cta-circle:hover {
  transform: scale(1.08);
  background: var(--brass);
}

/* ========================================
   BENTO EDITORIAL GRID
   ======================================== */

.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 240px;
  grid-auto-flow: dense;
  gap: 18px;
}

.bento-card {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  text-decoration: none;
  transition: transform 0.4s ease;
  min-height: 0;
}

.bento-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,22,40,0.88) 0%, rgba(10,22,40,0.35) 45%, rgba(10,22,40,0) 70%);
  z-index: 1;
}

.bento-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--card-bg);
  background-size: cover;
  background-position: center;
  transition: transform 0.7s ease;
  z-index: 0;
}

.bento-card:hover::after {
  transform: scale(1.06);
}

.bento-card:hover {
  transform: translateY(-3px);
}

/* Card size variants */
.bento-card-normal {
  grid-column: span 1;
  grid-row: span 1;
}

.bento-card-wide {
  grid-column: span 2;
  grid-row: span 1;
}

.bento-card-tall {
  grid-column: span 1;
  grid-row: span 2;
}

.bento-card-large {
  grid-column: span 2;
  grid-row: span 2;
}

.bento-card-xlarge {
  grid-column: span 3;
  grid-row: span 2;
}

.bento-card-content {
  position: relative;
  z-index: 2;
}

.category-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--brass);
  display: inline-block;
  margin-bottom: 10px;
  padding: 4px 10px;
  background: rgba(0,0,0,0.45);
  border-radius: 4px;
  backdrop-filter: blur(4px);
}

.bento-card h3 {
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.3;
  color: #fff;
  margin-bottom: 8px;
}

.bento-card-wide h3,
.bento-card-tall h3 {
  font-size: 1.5rem;
}

.bento-card-large h3,
.bento-card-xlarge h3 {
  font-size: 2rem;
  line-height: 1.2;
}

.bento-card p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.5;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.bento-card-large p,
.bento-card-xlarge p {
  -webkit-line-clamp: 3;
  font-size: 0.95rem;
}

.bento-card .bento-meta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.5);
}

/* ========================================
   EDITORIAL FEATURE (How We Help)
   ======================================== */

.editorial-feature {
  background: var(--ink);
  border-top: 1px solid var(--border-dark);
}

.editorial-statement {
  max-width: 720px;
  margin-bottom: 56px;
}

.editorial-statement h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.8rem;
  font-weight: 600;
  line-height: 1.15;
  color: var(--parchment);
  margin-bottom: 20px;
}

.editorial-statement p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--parchment-muted);
}

.entity-strip {
  display: flex;
  gap: 48px;
  padding-top: 40px;
  border-top: 1px solid var(--border-dark);
}

.entity-strip-item {
  flex: 1;
}

.entity-strip-item h4 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--parchment);
  margin-bottom: 8px;
}

.entity-strip-item p {
  font-size: 0.88rem;
  color: var(--parchment-muted);
  line-height: 1.6;
  margin-bottom: 12px;
}

.entity-strip-item a {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--brass);
  transition: color 0.2s ease;
}

.entity-strip-item a:hover {
  color: var(--brass-bright);
}

.nav-cta {
  padding: 12px 24px;
  min-height: 44px;
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: var(--parchment);
  color: var(--ink);
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.35s ease, color 0.35s ease;
}

.nav-cta:hover {
  background: var(--brass);
  color: var(--ink);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.2rem;
  color: var(--parchment-muted);
  cursor: pointer;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
}



/* ========================================
   HERO / PAGE HEADERS
   ======================================== */

.hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  background: var(--ink);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  top: -15%;
  height: 130%;
  background-size: cover;
  background-position: center;
  filter: grayscale(50%);
  will-change: transform;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--hero-overlay);
}

.hero .container {
  position: relative;
  z-index: 2;
}

/* ========================================
   PARALLAX SHAPES
   ======================================== */

.parallax-shapes {
  position: absolute;
  inset: 0;
  top: -15%;
  height: 130%;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
  will-change: transform;
}

.shape {
  position: absolute;
  opacity: 0.035;
  background: var(--brass);
}

.shape-circle-lg {
  width: 500px;
  height: 500px;
  border-radius: 50%;
  top: -5%;
  right: -8%;
}

.shape-circle-md {
  width: 280px;
  height: 280px;
  border-radius: 50%;
  bottom: 10%;
  left: -5%;
}

.shape-line-v {
  width: 1px;
  height: 400px;
  top: 15%;
  left: 18%;
  transform: rotate(12deg);
}

.shape-line-h {
  width: 350px;
  height: 1px;
  top: 35%;
  right: 12%;
  transform: rotate(-8deg);
}

.shape-rect {
  width: 120px;
  height: 120px;
  bottom: 25%;
  right: 25%;
  transform: rotate(25deg);
}

.shape-diamond {
  width: 80px;
  height: 80px;
  top: 55%;
  left: 8%;
  transform: rotate(45deg);
}

/* ========================================
   STICKY HEADLINE FADE
   ======================================== */

.hero h1,
.page-header h1 {
  will-change: transform, opacity;
}

.hero-content {
  position: relative;
  z-index: 10;
  width: 100%;
  padding: 80px 0 60px;
}

.hero-inner {
  max-width: 900px;
}

.hero h1 {
  margin-bottom: 28px;
  color: var(--hero-text);
  text-shadow: 0 2px 30px rgba(0,0,0,0.4);
}

.hero-lead {
  font-size: 1.15rem;
  color: var(--hero-text);
  max-width: 560px;
  margin-bottom: 40px;
  line-height: 1.8;
  font-weight: 300;
  text-shadow: 0 2px 20px rgba(0,0,0,0.35);
}

.hero-actions {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 60px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 700px;
}

.hero-stat {
  padding: 20px 0;
  border-top: 1px solid var(--border-dark);
}

.hero-stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--hero-text);
  margin-bottom: 4px;
}

.hero-stat-label {
  font-size: 0.85rem;
  color: rgba(var(--tint-rgb), 0.7);
}

.hero .label-mono,
.hero .eyebrow {
  color: #ffffff;
  opacity: 0.7;
}

.page-hero {
  position: relative;
  min-height: 45vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  background: var(--ink);
}

.page-hero-content {
  position: relative;
  z-index: 10;
  width: 100%;
  padding: 60px 0 40px;
}

.page-hero-inner {
  max-width: 900px;
}

.page-hero h1 {
  margin-bottom: 20px;
}

.page-hero p {
  font-size: 1.1rem;
  max-width: 560px;
  line-height: 1.7;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  min-height: 44px;
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.35s ease, color 0.35s ease, border-color 0.35s ease, transform 0.35s ease;
  backface-visibility: hidden;
}

.btn-primary {
  background: var(--parchment);
  color: var(--ink);
}

.btn-primary:hover {
  background: var(--brass);
  color: var(--ink);
  transform: scale(1.05);
  box-shadow: 0 8px 32px rgba(184,149,106,0.25);
}

.btn-outline {
  background: transparent;
  color: var(--parchment);
  border: 1px solid var(--border-light);
}

.btn-outline:hover {
  border-color: var(--brass);
  color: var(--brass);
  background: var(--brass-muted);
  transform: scale(1.05);
  box-shadow: 0 8px 32px rgba(184,149,106,0.15);
}

/* ========================================
   SECTIONS
   ======================================== */

.section-padding { padding: 100px 0; }

.section-header {
  margin-bottom: 56px;
}

.section-header h2 {
  margin-bottom: 14px;
}

.section-header p {
  max-width: 560px;
}

/* Brief About */
.brief-about {
  background: var(--ink-light);
  border-top: 1px solid var(--border-dark);
}

.brief-about-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 80px;
  align-items: center;
}

.brief-about-image img {
  width: 100%;
  filter: grayscale(30%);
  border-radius: 4px;
}

.brief-about-text h2 {
  margin-bottom: 24px;
}

.brief-about-text p {
  margin-bottom: 18px;
}

/* Services */
.services-section {
  background: var(--ink);
}

.service-list {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.service-row {
  display: block;
  padding: 32px 36px;
  border: 1px solid var(--border-dark);
  border-radius: 8px;
  transition: border-color 0.3s ease, background-color 0.3s ease;
}

.service-row:hover {
  border-color: var(--brass-glow);
  background: rgba(var(--tint-rgb), 0.01);
}

.service-row-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 12px;
}

.service-row-icon {
  width: 36px;
  height: 36px;
  border: 1px solid var(--border-dark);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--brass);
  flex-shrink: 0;
}

.service-row-title h3 {
  font-size: 1.15rem;
  margin-bottom: 2px;
}

.service-row-title span {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--parchment-dim);
}

.service-row p {
  font-size: 0.92rem;
  margin-bottom: 12px;
  max-width: 700px;
}

.service-row-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.service-row-tags span {
  font-size: 0.78rem;
  color: var(--parchment-dim);
  display: flex;
  align-items: center;
  gap: 6px;
}

.service-row-tags span::before {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--brass);
  opacity: 0.5;
}

/* Why Vietnam */
.why-vietnam {
  background: var(--ink-light);
  border-top: 1px solid var(--border-dark);
}

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

.vietnam-card {
  padding: 28px;
  border: 1px solid var(--border-dark);
  border-radius: 8px;
  background: var(--ink-card);
}

.vietnam-card h3 {
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--parchment);
  margin-bottom: 12px;
}

.vietnam-card .stat-value {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--brass-bright), var(--brass));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}

.vietnam-card p {
  font-size: 0.9rem;
  line-height: 1.6;
}

/* Clients */
.clients-section {
  background: var(--ink);
  border-top: 1px solid var(--border-dark);
}

.client-marquee {
  position: relative;
  overflow: hidden;
  padding: 20px 0;
}

.client-marquee::before,
.client-marquee::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
}

.client-marquee::before {
  left: 0;
  background: linear-gradient(to right, var(--ink), transparent);
}

.client-marquee::after {
  right: 0;
  background: linear-gradient(to left, var(--ink), transparent);
}

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

.client-logo {
  background: var(--ink-card);
  padding: 20px;
  border: 1px solid var(--border-dark);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 76px;
}

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

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

/* News Ticker */
.news-ticker {
  display: flex;
  align-items: center;
  gap: 0;
  background: var(--ink-light);
  border-bottom: 1px solid var(--border-dark);
  padding: 0;
  position: relative;
  overflow: hidden;
  min-height: 56px;
}

.ticker-label {
  flex-shrink: 0;
  padding: 0 24px;
  background: var(--brass);
  color: var(--ink);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.ticker-label .label-mono { color: var(--ink); }

.ticker-content {
  flex: 1;
  position: relative;
  height: 56px;
  overflow: hidden;
}

.ticker-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  padding: 0 32px;
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--parchment);
  text-decoration: none;
  opacity: 0;
  transform: translateY(100%);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ticker-item.active {
  opacity: 1;
  transform: translateY(0);
}

.ticker-item.exit {
  opacity: 0;
  transform: translateY(-100%);
}

.ticker-item:hover {
  color: var(--brass);
}

.ticker-dots {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 24px;
  height: 56px;
}

.ticker-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--border-light);
  transition: background 0.3s var(--ease);
  cursor: pointer;
}

.ticker-dot.active {
  background: var(--brass);
}

@media (max-width: 768px) {
  .ticker-label { padding: 0 16px; font-size: 0.6rem; }
  .ticker-item { padding: 0 16px; font-size: 0.8rem; }
  .ticker-dots { padding: 0 16px; }
}

/* News */
.news-section { background: var(--ink); }

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.news-card {
  background: var(--ink-card);
  border: 1px solid var(--border-dark);
  border-radius: 8px;
  overflow: hidden;
  transition: border-color var(--duration) var(--ease);
}

.news-card:hover {
  border-color: var(--border-light);
}

.news-image {
  height: 180px;
  overflow: hidden;
  background: var(--ink-light);
}

.news-image img,
.news-image video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(40%);
  transition: filter var(--duration) var(--ease);
}

.news-card:hover .news-image img,
.news-card:hover .news-image video {
  filter: grayscale(10%);
}

.news-image.no-photo {
  background: linear-gradient(135deg, var(--ink-card) 0%, var(--ink-elevated) 100%);
  position: relative;
}

.news-image.no-photo::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 10px,
    rgba(184,149,106,0.03) 10px,
    rgba(184,149,106,0.03) 20px
  );
}

.news-image.no-photo::after {
  content: 'IP';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 600;
  color: rgba(184,149,106,0.12);
  letter-spacing: 0.15em;
}

.related-thumb {
  width: 100%;
  height: 120px;
  background: linear-gradient(135deg, var(--ink-card) 0%, var(--ink-elevated) 100%);
  border-radius: 4px;
  margin-bottom: 12px;
  position: relative;
  overflow: hidden;
}

.related-thumb::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 10px,
    rgba(184,149,106,0.03) 10px,
    rgba(184,149,106,0.03) 20px
  );
}

.related-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: relative;
  z-index: 2;
}

.related-thumb:has(img)::before,
.related-thumb:has(img)::after {
  display: none;
}

.related-thumb::after {
  content: 'IP';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 600;
  color: rgba(184,149,106,0.12);
  letter-spacing: 0.15em;
}

.news-content {
  padding: 24px;
}

.news-category {
  font-size: 0.65rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--brass);
  margin-bottom: 8px;
  display: block;
}

.news-card h3 {
  font-size: 1.05rem;
  margin-bottom: 10px;
  line-height: 1.35;
}

.news-card h3 a { color: var(--parchment); }
.news-card h3 a:hover { color: var(--brass); }

.news-excerpt {
  font-size: 0.88rem;
  color: var(--parchment-muted);
  line-height: 1.65;
}

.news-meta-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border-dark);
}

.news-meta-row span {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  color: var(--parchment-dim);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* CTA */
.cta-section {
  background: var(--ink-light);
  text-align: center;
  padding: 100px 0;
  border-top: 1px solid var(--border-dark);
}

.cta-section h2 {
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  margin-bottom: 20px;
  font-weight: 700;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.cta-section p {
  max-width: 520px;
  margin: 0 auto 32px;
}

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

.footer {
  background: var(--ink);
  border-top: 1px solid var(--border-dark);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 3fr 2fr 2fr 3fr;
  gap: 48px;
  margin-bottom: 64px;
}

.footer-brand h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--parchment);
  margin-bottom: 4px;
}

.footer-brand .logo-sub {
  font-size: 0.55rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--parchment-dim);
  margin-bottom: 20px;
  display: block;
}

.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.7;
  margin-bottom: 24px;
  max-width: 280px;
}

.footer-contact-line {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 0.85rem;
  color: var(--parchment-dim);
}

.footer-contact-line:hover {
  color: var(--brass);
}

.footer-links h4 {
  color: var(--parchment);
  margin-bottom: 20px;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
}

.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 10px; }

.footer-links a {
  color: var(--parchment-dim);
  font-size: 0.85rem;
}

.footer-links a:hover { color: var(--brass); }

.footer-subscribe p {
  font-size: 0.85rem;
  color: var(--parchment-dim);
  margin-bottom: 16px;
}

.footer-subscribe-form {
  display: flex;
  gap: 8px;
}

.footer-subscribe-form input {
  flex: 1;
  padding: 10px 14px;
  background: rgba(var(--tint-rgb), 0.02);
  border: 1px solid var(--border-dark);
  border-radius: 6px;
  color: var(--parchment);
  font-size: 0.85rem;
  font-family: 'Inter', sans-serif;
}

.footer-subscribe-form input::placeholder {
  color: var(--parchment-dim);
}

.footer-subscribe-form input:focus {
  outline: none;
  border-color: var(--brass-glow);
}

.footer-subscribe-form button {
  padding: 10px 18px;
  min-height: 44px;
  background: var(--parchment);
  color: var(--ink);
  border: none;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.35s ease, color 0.35s ease;
}

.footer-subscribe-form button:hover {
  background: var(--brass);
}

.sidebar-newsletter .footer-subscribe-form {
  flex-direction: column;
}

.sidebar-newsletter .footer-subscribe-form input,
.sidebar-newsletter .footer-subscribe-form button {
  width: 100%;
}

.footer-bottom {
  border-top: 1px solid var(--border-dark);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 0.75rem;
  color: var(--parchment-dim);
}

/* ========================================
   PAGE HEADER (small)
   ======================================== */

.page-header {
  position: relative;
  background: var(--ink);
  padding: 140px 0 60px;
  border-bottom: 1px solid var(--border-dark);
  overflow: hidden;
}

.page-header-bg {
  position: absolute;
  inset: 0;
  top: -15%;
  height: 130%;
  background-size: cover;
  background-position: center;
  filter: grayscale(50%);
  will-change: transform;
}

.page-header-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--page-header-overlay);
}

.page-header .container {
  position: relative;
  z-index: 2;
}

.page-header h1 {
  font-weight: 700;
  margin-bottom: 16px;
  max-width: 800px;
  color: var(--hero-text);
  text-shadow: 0 2px 20px rgba(0,0,0,0.35);
}

.page-header p {
  font-size: 1.1rem;
  max-width: 560px;
  line-height: 1.7;
  color: var(--hero-text);
  text-shadow: 0 2px 20px rgba(0,0,0,0.35);
}

.page-header .label-mono,
.page-header .eyebrow {
  color: var(--hero-text);
  opacity: 0.7;
}

.page-header .breadcrumb li,
.page-header .breadcrumb li a {
  color: var(--hero-text);
  opacity: 0.6;
}

.page-header .breadcrumb li a:hover {
  color: var(--hero-text);
}

.breadcrumb {
  display: flex;
  gap: 12px;
  list-style: none;
  margin-top: 32px;
}

.breadcrumb li {
  color: var(--parchment-dim);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.breadcrumb li a { color: var(--parchment-muted); }
.breadcrumb li a:hover { color: var(--parchment); }

.breadcrumb li::after {
  content: '/';
  margin-left: 12px;
  color: var(--parchment-dim);
}

.breadcrumb li:last-child::after { display: none; }

/* ========================================
   ARTICLE PAGES
   ======================================== */

.article-hero {
  position: relative;
  width: 100%;
  height: 50vh;
  min-height: 360px;
  max-height: 520px;
  overflow: hidden;
  background: var(--ink-light);
}

.article-hero img,
.article-hero video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(30%);
}

.article-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--article-hero-overlay);
}

.article-hero-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 60px 0 40px;
  z-index: 2;
}

.article-hero-content h1 {
  color: var(--hero-text);
  font-weight: 700;
  max-width: 800px;
  margin-bottom: 16px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.35);
}

.article-hero-content .article-meta {
  display: flex;
  gap: 20px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--hero-text);
  opacity: 0.85;
  text-shadow: 0 1px 10px rgba(0,0,0,0.35);
}

.article-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 64px;
  align-items: start;
}

.article-main {
  min-width: 0;
}

.article-sidebar {
  position: sticky;
  top: 100px;
  align-self: start;
}

.service-detail-sidebar {
  position: sticky;
  top: 100px;
  align-self: start;
}

.sidebar-widget {
  background: var(--ink-card);
  border: 1px solid var(--border-dark);
  border-radius: 8px;
  padding: 24px;
  margin-bottom: 16px;
}

.sidebar-widget h4 {
  color: var(--parchment);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0.02em;
  margin-bottom: 16px;
}

.sidebar-widget p {
  font-size: 0.85rem;
  color: var(--parchment-dim);
  margin-bottom: 16px;
}

.sidebar-contact-line {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 0.85rem;
  color: var(--parchment-muted);
}

.sidebar-contact-line:hover {
  color: var(--brass);
}

.sidebar-related a {
  display: block;
  padding: 12px 0;
  font-size: 0.85rem;
  color: var(--parchment-muted);
  border-bottom: 1px solid var(--border-dark);
  background: none;
  text-align: left;
  border-radius: 0;
  transition: color var(--duration) var(--ease), background var(--duration) var(--ease);
}

.sidebar-related a:hover {
  color: var(--brass);
}

.sidebar-widget:not(.sidebar-related) > a:not(.widget-link-overlay) {
  display: block;
  text-align: center;
  padding: 12px;
  background: var(--parchment);
  color: var(--ink);
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 6px;
  transition: background-color 0.35s ease, color 0.35s ease;
}

.sidebar-widget:not(.sidebar-related) > a:not(.widget-link-overlay):hover {
  background: var(--brass);
  color: var(--ink);
}

.author-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-dark);
}

.author-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--brass);
}

.author-name {
  font-size: 0.9rem;
  color: var(--parchment);
}

.author-role {
  font-size: 0.75rem;
  color: var(--parchment-dim);
}

.article-body {
  padding: 60px 0;
}

.article-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 20px;
  color: var(--parchment);
}

.article-body h2 {
  font-size: 1.3rem;
  margin: 40px 0 16px;
  color: var(--parchment);
  font-weight: 600;
}

.article-body h3 {
  font-size: 1.05rem;
  margin: 28px 0 12px;
  color: var(--parchment);
  font-weight: 600;
}

.article-body p {
  margin-bottom: 16px;
  font-size: 1rem;
  line-height: 1.8;
}

.article-body p strong,
.article-body p b {
  color: var(--parchment);
  font-weight: 500;
}

.article-body ul {
  margin: 16px 0 16px 20px;
}

.article-body li {
  margin-bottom: 8px;
  color: var(--parchment-muted);
  line-height: 1.7;
  font-size: 0.95rem;
}

.article-body li::marker {
  color: var(--brass);
}

.article-image {
  margin: 32px 0;
}

.article-image img {
  width: 100%;
  border-radius: 4px;
  filter: grayscale(20%);
}

.article-image-caption {
  font-size: 0.8rem;
  color: var(--parchment-dim);
  margin-top: 8px;
  font-style: italic;
}

.article-tags {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 32px;
  margin-top: 32px;
  border-top: 1px solid var(--border-dark);
}

.article-tags span {
  padding: 4px 10px;
  background: rgba(var(--tint-rgb), 0.02);
  border: 1px solid var(--border-dark);
  border-radius: 20px;
  font-size: 0.7rem;
  color: var(--parchment-dim);
  font-family: 'JetBrains Mono', monospace;
}

.related-articles {
  padding: 60px 0;
  border-top: 1px solid var(--border-dark);
}

.related-articles h3 {
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.related-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.related-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border: 1px solid var(--border-dark);
  border-radius: 8px;
  transition: border-color 0.3s ease, background-color 0.3s ease;
}

.related-card:hover {
  border-color: var(--brass-glow);
}

.related-card img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 4px;
  filter: grayscale(40%);
  opacity: 0.6;
}

.related-card .related-thumb {
  width: 80px;
  height: 60px;
  flex-shrink: 0;
  margin-bottom: 0;
  border-radius: 4px;
}

.related-card .related-thumb::before,
.related-card .related-thumb::after {
  display: none;
}

.related-card .related-thumb img {
  width: 100%;
  height: 100%;
  filter: grayscale(30%);
  opacity: 1;
  border-radius: 4px;
}

.related-card h4 {
  font-family: 'Playfair Display', serif;
  font-size: 0.95rem;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  color: var(--parchment);
}

.related-card:hover h4 {
  color: var(--brass);
}

.article-nav {
  border-top: 1px solid var(--border-dark);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
}

.article-nav a {
  font-size: 0.78rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--parchment-muted);
}

.article-nav a:hover { color: var(--parchment); }

/* ========================================
   SERVICE DETAIL PAGE
   ======================================== */

.service-detail-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 64px;
  align-items: start;
}

.service-detail-main {
  min-width: 0;
}

.service-detail-main h2 {
  font-size: 1.3rem;
  margin: 40px 0 16px;
}

.service-detail-main p {
  margin-bottom: 16px;
  font-size: 1rem;
}

.capabilities-list {
  list-style: none;
  margin: 20px 0 32px;
}

.capabilities-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  font-size: 0.95rem;
  color: var(--parchment-muted);
  border-bottom: 1px solid var(--border-dark);
}

.capabilities-list li::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--brass);
  margin-top: 10px;
  flex-shrink: 0;
}

.process-steps {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 24px 0 32px;
}

.process-step {
  display: flex;
  gap: 16px;
}

.process-step-num {
  width: 36px;
  height: 36px;
  border: 1px solid var(--border-dark);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--brass);
  flex-shrink: 0;
}

.process-step h4 {
  color: var(--parchment);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0.02em;
  margin-bottom: 4px;
}

.process-step p {
  font-size: 0.88rem;
  margin: 0;
}

.considerations-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 20px 0;
}

.consideration-item {
  padding: 16px 20px;
  border-left: 2px solid var(--brass-glow);
  background: rgba(var(--tint-rgb), 0.01);
  border-radius: 0 6px 6px 0;
}

.consideration-item p {
  font-size: 0.92rem;
  margin: 0;
}

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

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.about-image img {
  width: 100%;
  filter: grayscale(30%);
  border-radius: 4px;
}

.timeline {
  position: relative;
  margin: 40px 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--border-dark);
}

.timeline-item {
  position: relative;
  padding-left: 32px;
  padding-bottom: 32px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -3px;
  top: 8px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brass);
  border: 2px solid var(--ink);
}

.timeline-year {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--brass);
  margin-bottom: 4px;
}

.timeline-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--parchment);
  margin-bottom: 6px;
}

.timeline-desc {
  font-size: 0.9rem;
  color: var(--parchment-muted);
  line-height: 1.6;
}

.company-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid var(--border-dark);
}

.company-info-col h4 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--brass);
  opacity: 0.7;
  margin-bottom: 16px;
}

.company-info-row {
  margin-bottom: 10px;
  font-size: 0.88rem;
}

.company-info-row span:first-child {
  color: var(--parchment-muted);
}

.company-info-row span:last-child {
  color: var(--parchment);
}

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

/* How We Help — Entity Cards */
.entity-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.entity-card {
  display: flex;
  flex-direction: column;
  padding: 36px 32px;
  border: 1px solid var(--border-dark);
  border-radius: 12px;
  background: var(--ink-light);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.entity-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brass), var(--brass-bright));
  opacity: 0.6;
  transition: opacity 0.3s ease;
}

.entity-card:hover {
  transform: translateY(-4px);
  border-color: var(--brass-glow);
  box-shadow: 0 12px 40px rgba(0,0,0,0.25);
}

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

.entity-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.entity-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(var(--tint-rgb), 0.04);
  border: 1px solid var(--border-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brass);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.entity-card-title h3 {
  font-size: 1.15rem;
  margin-bottom: 2px;
  color: var(--parchment);
}

.entity-card-title span {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--parchment-dim);
}

.entity-card > p {
  font-size: 0.9rem;
  color: var(--parchment-muted);
  margin-bottom: 20px;
  line-height: 1.6;
}

.entity-services {
  list-style: none;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--border-dark);
}

.entity-services li {
  margin-bottom: 8px;
}

.entity-services li:last-child {
  margin-bottom: 0;
}

.entity-services a {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.84rem;
  color: var(--parchment-muted);
  transition: color 0.2s ease, transform 0.2s ease;
}

.entity-services a::before {
  content: '›';
  font-size: 0.9rem;
  color: var(--brass);
  opacity: 0.5;
  transition: opacity 0.2s ease;
}

.entity-services a:hover {
  color: var(--parchment);
  transform: translateX(3px);
}

.entity-services a:hover::before {
  opacity: 1;
}

/* ========================================
   NEWS / INSIGHTS PAGE
   ======================================== */

.filter-bar {
  padding: 16px 0;
  border-bottom: 1px solid var(--border-dark);
  margin-bottom: 40px;
}

.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-btn {
  padding: 8px 18px;
  min-height: 44px;
  font-size: 0.82rem;
  font-weight: 400;
  color: var(--parchment-muted);
  background: transparent;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: color 0.35s ease, background-color 0.35s ease;
  font-family: 'Inter', sans-serif;
}

.filter-btn:hover {
  color: var(--parchment);
  background: rgba(var(--tint-rgb), 0.02);
}

.filter-btn.active {
  background: var(--brass-muted);
  color: var(--brass);
}

/* ========================================
   CONTACT PAGE
   ======================================== */

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
  align-items: start;
}

.contact-form-card {
  background: var(--ink-card);
  border: 1px solid var(--border-dark);
  border-radius: 8px;
  padding: 48px;
}

.contact-form-card h3 {
  margin-bottom: 32px;
  font-size: 1.3rem;
}

.office-card {
  border: 1px solid var(--border-dark);
  border-radius: 8px;
  padding: 24px;
  margin-bottom: 16px;
}

.office-card h4 {
  color: var(--parchment);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0.02em;
  margin-bottom: 16px;
}

.office-name {
  font-size: 0.9rem;
  color: var(--parchment);
  font-weight: 500;
}

.office-role {
  font-size: 0.7rem;
  color: var(--parchment-dim);
  margin-left: 6px;
}

.office-address {
  font-size: 0.82rem;
  color: var(--parchment-muted);
  margin-top: 4px;
}

/* ========================================
   FAQ
   ======================================== */

.faq-section {
  background: var(--ink);
  border-top: 1px solid var(--border-dark);
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  align-items: start;
}

.faq-sidebar h3 {
  margin-bottom: 16px;
  font-size: 1.3rem;
}

.faq-sidebar p {
  font-size: 0.95rem;
  color: var(--parchment-muted);
  margin-bottom: 24px;
}

.faq-list {
  border-top: 1px solid var(--border-dark);
}

.faq-item {
  border-bottom: 1px solid var(--border-dark);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--parchment);
}

.faq-question:hover { color: var(--brass); }

.faq-toggle {
  font-size: 1.2rem;
  color: var(--brass);
  transition: transform var(--duration) var(--ease);
  min-width: 24px;
  text-align: center;
}

.faq-item.open .faq-toggle {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--duration) var(--ease), padding var(--duration) var(--ease);
}

.faq-item.open .faq-answer {
  max-height: 500px;
  padding-bottom: 22px;
}

.faq-answer p {
  font-size: 0.92rem;
  color: var(--parchment-muted);
  line-height: 1.7;
}

/* ========================================
   MARKET PAGE
   ======================================== */

.market-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 80px;
}

.market-stat {
  padding: 28px;
  background: var(--ink-card);
  border: 1px solid var(--border-dark);
  border-radius: 8px;
}

.market-stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--brass-bright), var(--brass));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}

.market-stat-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--parchment-dim);
}

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

.reason-item {
  padding: 28px;
  background: var(--ink-card);
  border: 1px solid var(--border-dark);
  border-radius: 8px;
  transition: border-color var(--duration) var(--ease);
}

.reason-item:hover {
  border-color: var(--brass-glow);
}

.reason-content h4 {
  margin-bottom: 10px;
  color: var(--parchment);
  font-size: 0.75rem;
}

.reason-content p {
  font-size: 0.92rem;
  line-height: 1.65;
}

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

.sector-card {
  padding: 28px;
  background: var(--ink-card);
  border: 1px solid var(--border-dark);
  border-radius: 8px;
  transition: border-color var(--duration) var(--ease);
}

.sector-card:hover {
  border-color: var(--brass-glow);
}

.sector-card h4 {
  margin-bottom: 10px;
  color: var(--parchment);
  font-size: 0.75rem;
}

.sector-card p {
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ========================================
   MANDATES
   ======================================== */

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

.mandate-card {
  background: var(--ink-card);
  padding: 32px;
  border: 1px solid var(--border-dark);
  border-radius: 8px;
}

.mandate-tag {
  display: inline-block;
  background: var(--parchment);
  color: var(--ink);
  padding: 5px 12px;
  font-size: 0.6rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 16px;
  border-radius: 4px;
}

.mandate-tag.gold {
  background: var(--brass);
}

.mandate-card h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  margin-bottom: 12px;
  color: var(--parchment);
  text-transform: none;
  letter-spacing: 0;
  font-weight: 600;
}

.mandate-card p {
  font-size: 0.9rem;
  line-height: 1.65;
  margin-bottom: 16px;
}

.mandate-card a {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--parchment);
}

/* ========================================
   NOISE TEXTURE
   ======================================== */

.noise-overlay {
  display: none;
}

/* ========================================
   STAGGER CARD ANIMATION (How We Help)
   ======================================== */

.stagger-card {
  opacity: 0;
  transform: translateY(40px) scale(0.95);
  transition:
    opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform, opacity;
}

.stagger-card.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* 0.15s stagger between each card */
.stagger-card:nth-child(1) { transition-delay: 0s; }
.stagger-card:nth-child(2) { transition-delay: 0.15s; }
.stagger-card:nth-child(3) { transition-delay: 0.30s; }
.stagger-card:nth-child(4) { transition-delay: 0.45s; }

/* ========================================
   SCROLL REVEAL ANIMATIONS
   ======================================== */

.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* Text character/word reveal */
.text-reveal .word {
  display: inline-block;
  overflow: hidden;
  padding-bottom: 0.18em;
  margin-bottom: -0.18em;
}

.text-reveal .word-inner {
  display: inline-block;
  transform: translateY(110%);
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.text-reveal.visible .word-inner {
  transform: translateY(0);
}

/* Stagger word delays */
.text-reveal.visible .word:nth-child(1)  .word-inner { transition-delay: 0.04s; }
.text-reveal.visible .word:nth-child(2)  .word-inner { transition-delay: 0.08s; }
.text-reveal.visible .word:nth-child(3)  .word-inner { transition-delay: 0.12s; }
.text-reveal.visible .word:nth-child(4)  .word-inner { transition-delay: 0.16s; }
.text-reveal.visible .word:nth-child(5)  .word-inner { transition-delay: 0.20s; }
.text-reveal.visible .word:nth-child(6)  .word-inner { transition-delay: 0.24s; }
.text-reveal.visible .word:nth-child(7)  .word-inner { transition-delay: 0.28s; }
.text-reveal.visible .word:nth-child(8)  .word-inner { transition-delay: 0.32s; }
.text-reveal.visible .word:nth-child(9)  .word-inner { transition-delay: 0.36s; }
.text-reveal.visible .word:nth-child(10) .word-inner { transition-delay: 0.40s; }
.text-reveal.visible .word:nth-child(11) .word-inner { transition-delay: 0.44s; }
.text-reveal.visible .word:nth-child(12) .word-inner { transition-delay: 0.48s; }
.text-reveal.visible .word:nth-child(13) .word-inner { transition-delay: 0.52s; }
.text-reveal.visible .word:nth-child(14) .word-inner { transition-delay: 0.56s; }
.text-reveal.visible .word:nth-child(15) .word-inner { transition-delay: 0.60s; }
.text-reveal.visible .word:nth-child(16) .word-inner { transition-delay: 0.64s; }

/* Slide-in from left / right */
.reveal-left {
  opacity: 0;
  transform: translateX(-80px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}
.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(80px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}
.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Image scale + fade */
.reveal-scale {
  opacity: 0;
  transform: scale(0.88);
  transition: opacity 1.1s cubic-bezier(0.16, 1, 0.3, 1), transform 1.1s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}
.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}
.reveal-scale img {
  transition: transform 1.4s cubic-bezier(0.16, 1, 0.3, 1);
  transform: scale(1.08);
}
.reveal-scale.visible img {
  transform: scale(1);
}

/* Counter animation */
.counter-number {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--parchment);
  line-height: 1;
}

/* ========================================
   CLIENT MARQUEE
   ======================================== */

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

.marquee-wrapper::before,
.marquee-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}

.marquee-wrapper::before {
  left: 0;
  background: linear-gradient(to right, var(--ink), transparent);
}

.marquee-wrapper::after {
  right: 0;
  background: linear-gradient(to left, var(--ink), transparent);
}

.marquee-track {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: marquee-scroll 40s linear infinite;
}

.marquee-track:hover {
  animation-play-state: paused;
}

@keyframes marquee-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.marquee-item {
  flex-shrink: 0;
  background: var(--ink-card);
  padding: 24px 32px;
  border: 1px solid var(--border-dark);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 80px;
  min-width: 160px;
}

.marquee-item img {
  max-height: 36px;
  max-width: 120px;
  object-fit: contain;
  filter: grayscale(100%) opacity(0.35);
  transition: filter 0.4s ease;
}

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

/* ========================================
   ANIMATIONS
   ======================================== */

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ========================================
   ABOUT PAGE UTILITIES
   ======================================== */

.story-section {
  margin-top: 64px;
  padding-top: 64px;
  border-top: 1px solid var(--border-dark);
}

.story-section:first-of-type {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.about-founder-text {
  max-width: 640px;
}

.story-lead {
  font-size: 1.15rem;
  color: var(--parchment);
  font-weight: 400;
  line-height: 1.7;
  margin-bottom: 20px;
}

.about-founder-caption {
  font-size: 0.82rem;
  color: var(--parchment-dim);
  margin-top: 12px;
  font-style: italic;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 24px;
}

.value-card {
  padding: 28px;
  background: var(--ink-card);
  border: 1px solid var(--border-dark);
  border-radius: 8px;
}

.value-card h4 {
  color: var(--parchment);
  margin-bottom: 10px;
  font-size: 0.75rem;
}

.value-card p {
  font-size: 0.92rem;
  line-height: 1.65;
}

/* ========================================
   SERVICES PAGE UTILITIES
   ======================================== */

.service-block {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border-dark);
}

.service-block:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.service-block img {
  width: 100%;
  border-radius: 4px;
  filter: grayscale(30%);
}

.service-sub-list {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
}

.service-sub-list li {
  position: relative;
  padding-left: 16px;
  margin-bottom: 12px;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--parchment-dim);
}

.service-sub-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--brass);
}

.service-sub-list li a {
  color: var(--parchment);
  font-weight: 500;
  text-decoration: none;
}

.service-sub-list li a:hover {
  color: var(--brass);
}

.service-link {
  display: inline-block;
  margin-top: 16px;
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--parchment);
}

.service-link:hover {
  color: var(--brass);
}

/* ========================================
   NEWS PAGE UTILITIES
   ======================================== */

.featured-slider {
  position: relative;
  background: var(--ink-card);
  border: 1px solid var(--border-dark);
  border-radius: 8px;
  overflow: hidden;
}

.featured-track {
  display: flex;
  transition: transform 0.7s cubic-bezier(0.25, 0.1, 0.25, 1);
  will-change: transform;
}

.featured-slide {
  flex: 0 0 100%;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
}

.featured-news-image {
  height: 100%;
  min-height: 480px;
  align-self: stretch;
}

.featured-news-image img,
.featured-news-image video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(30%);
}

.featured-news-content {
  padding: 64px;
}

.featured-news-content .news-meta {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--parchment-dim);
}

.featured-news-content h3 {
  font-size: 2rem;
  margin-bottom: 20px;
  line-height: 1.2;
}

.featured-news-content h3 a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s var(--ease);
}

.featured-news-content h3 a:hover {
  color: var(--brass);
}

a.featured-news-image {
  display: block;
  overflow: hidden;
}

a.featured-news-image img {
  transition: transform 0.6s var(--ease), filter 0.6s var(--ease);
}

a.featured-news-image:hover img {
  transform: scale(1.04);
  filter: grayscale(0%);
}

.featured-news-content p {
  font-size: 1.05rem;
  margin-bottom: 32px;
  line-height: 1.7;
  max-width: 520px;
}

.featured-news-content .btn-primary {
  padding: 16px 36px;
  font-size: 0.88rem;
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid var(--border-light);
  background: var(--slider-arrow-bg);
  color: var(--parchment);
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), color 0.3s var(--ease);
  backdrop-filter: blur(8px);
}

.slider-arrow:hover {
  background: var(--brass);
  border-color: var(--brass);
  color: var(--ink);
}

.slider-prev { left: 20px; }
.slider-next { right: 20px; }

.slider-dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border-light);
  cursor: pointer;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}

.slider-dot.active {
  background: var(--brass);
  transform: scale(1.3);
}

/* ========================================
   CONTACT PAGE UTILITIES
   ======================================== */

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--parchment-muted);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 14px;
  background: rgba(var(--tint-rgb), 0.02);
  border: 1px solid var(--border-dark);
  border-radius: 6px;
  color: var(--parchment);
  font-size: 0.95rem;
  font-family: 'Inter', sans-serif;
  transition: border-color var(--duration) var(--ease);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--brass-glow);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

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

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

  .vietnam-grid { grid-template-columns: repeat(2, 1fr); }
  .clients-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .brief-about-grid,
  .about-grid,
  .contact-layout,
  .faq-grid,
  .article-layout,
  .service-detail-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .article-sidebar { display: none; }
  .service-detail-sidebar {
    position: static;
    margin-top: 16px;
  }
  .article-sidebar .sidebar-related { display: none; }
  .sidebar-widget:not(.sidebar-related) > a:not(.widget-link-overlay) { min-height: 44px; display: flex; align-items: center; justify-content: center; }
  .sidebar-related a { padding: 14px 0; min-height: 44px; display: flex; align-items: center; }
  .mobile-article-cta { padding: 40px 0; }
  .mobile-article-cta .sidebar-widget { margin-bottom: 16px; }
  .mobile-article-cta .sidebar-widget:last-child { margin-bottom: 0; }
  .company-info-grid { grid-template-columns: repeat(2, 1fr); }
  .market-stats { grid-template-columns: repeat(2, 1fr); }
  .reasons-list { grid-template-columns: 1fr; }
  .sector-grid { grid-template-columns: repeat(2, 1fr); }
  .mandates-grid { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .service-block { grid-template-columns: 1fr; }
  .featured-slide { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .container { padding: 0 24px; }
  .section-padding { padding: 60px 0; }
  .hero { min-height: auto; padding-top: 64px; }
  .hero-content { padding: 60px 0 40px; }
  .nav-container {
    padding: 0 16px;
  }
  .drawer-toggle {
    margin-right: 0;
  }
  .nav-cta { display: none; }

  

  

  .hero h1 { font-size: 2.2rem; }
  .hero-stats { grid-template-columns: 1fr; }

  .hero-dark { min-height: auto; padding-top: 64px; }
  .hero-dark .hero-content { padding: 60px 0 40px; }
  .hero-dark h1 { font-size: 2.6rem; }
  .hero-dark .hero-lead { font-size: 1.05rem; }

  .bento-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 280px;
  }
  .bento-card-normal,
  .bento-card-wide,
  .bento-card-tall,
  .bento-card-large,
  .bento-card-xlarge {
    grid-column: span 1;
    grid-row: span 1;
  }
  .bento-card-large h3,
  .bento-card-xlarge h3 {
    font-size: 1.5rem;
  }
  .bento-card h3 { font-size: 1.25rem; }

  .editorial-statement h2 { font-size: 2rem; }
  .entity-strip { flex-direction: column; gap: 32px; }

  .services-grid,
  .news-grid,
  .entity-grid,
  .vietnam-grid,
  .values-grid,
  .sector-grid,
  .market-stats,
  .company-info-grid {
    grid-template-columns: 1fr;
  }

  .clients-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }

  .contact-form-card { padding: 32px 24px; }
  .page-hero { min-height: auto; padding-top: 64px; }
  .page-hero-content { padding: 40px 0 32px; }
  .page-hero h1 { font-size: clamp(1.8rem, 5vw, 2.5rem); }
  .page-hero p { font-size: 1rem; }
  .page-header { padding: 100px 0 40px; }
  .page-header h1 { font-size: clamp(1.8rem, 5vw, 2.5rem); }
  .page-header p { font-size: 1rem; }
  .article-hero { height: 40vh; min-height: 280px; }
  .article-body { padding: 40px 0; }
  .article-title { font-size: 1.5rem; }
  .service-detail-main { padding: 0; }
  .service-block { grid-template-columns: 1fr; }
  .featured-slide { grid-template-columns: 1fr; }
  .featured-news-image { min-height: 240px; }
  .featured-news-content { padding: 32px 24px; }
  .featured-news-content h3 { font-size: 1.4rem; }
  .featured-news-content p { font-size: 1rem; margin-bottom: 24px; }
  .values-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }

  /* Fix word-split preventing natural wrapping */
  .text-reveal .word { display: inline; overflow: visible; padding-bottom: 0; margin-bottom: 0; }
  .text-reveal .word-inner { transform: none; transition: none; }

  /* Breadcrumb wrapping */
  .breadcrumb { flex-wrap: wrap; }

  /* Hero actions wrapping */
  .hero-actions { flex-wrap: wrap; }

  /* Footer subscribe stack */
  .footer-subscribe-form { flex-direction: column; }
  .footer-subscribe-form input,
  .footer-subscribe-form button { width: 100%; }

  /* Prevent iOS input zoom */
  .form-group input,
  .form-group select,
  .form-group textarea { font-size: 16px; }

  /* Slightly larger labels for readability */
  .label-mono, .eyebrow { font-size: 0.7rem; }

  /* Flex wrapping for narrow screens */
  .news-meta-row,
  .article-tags,
  .featured-news-content .news-meta,
  .article-hero-content .article-meta { flex-wrap: wrap; }

  /* Reduce card padding on mobile */
  .service-row { padding: 24px; }
  .sector-card,
  .value-card,
  .office-card,
  .mandate-card { padding: 20px; }

  /* Larger slider dots for touch */
  .slider-dot { width: 14px; height: 14px; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 2rem; }
  .hero-lead { font-size: 1.05rem; }
  .section-header h2 { font-size: 1.6rem; }
  .page-hero h1,
  .page-header h1 { font-size: 1.7rem; }
  .hero-stat-num { font-size: 1.5rem; }
  .hero-stat-label { font-size: 0.8rem; }
  .logo { font-size: 1.35rem; }
}

/* ========================================
   ICONS
   ======================================== */

.footer-contact-line i {
  color: var(--brass);
  font-size: 0.9em;
}

.office-address i {
  color: var(--brass);
  margin-right: 8px;
  width: 16px;
  text-align: center;
  display: inline-block;
}

.sidebar-widget h4 i {
  color: var(--brass);
  margin-right: 8px;
  font-size: 0.9em;
}

.service-row-icon i {
  font-size: 0.85rem;
}

.value-card h4 i {
  color: var(--brass);
  margin-right: 8px;
  font-size: 0.9em;
}

.btn i {
  margin-right: 8px;
  font-size: 0.9em;
}

/* ========================================
   DYNAMIC COMPONENTS — McKinsey-style
   ======================================== */

/* ---- Featured Hero (Homepage) ---- */
.featured-hero {
  padding: 160px 0 100px;
  position: relative;
  overflow: hidden;
  min-height: auto;
}

.featured-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
}

/* Compact motto */
.hero-motto {
  max-width: 520px;
  position: relative;
  z-index: 2;
}

.hero-motto h1 {
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 16px 0 20px;
  color: #fff;
}

.hero-motto p {
  font-size: 1.05rem;
  color: #c8cdd5;
  line-height: 1.6;
  margin-bottom: 28px;
  max-width: 440px;
}

.hero-motto-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Article wall — dark section below hero */
.hero-articles {
  background: var(--ink);
  padding: 40px 0 80px;
  position: relative;
}

/* Flexbox grid: wider cards, bottom-aligned */
.hero-articles-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 18px;
}

.ha-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  text-decoration: none;
  transition: transform 0.35s ease;
  will-change: transform;
  backface-visibility: hidden;
  flex: 1 1 calc(33.333% - 12px);
  min-width: 260px;
  max-width: calc(50% - 9px);
}

.ha-card.ha-wide {
  flex: 2 1 calc(66.666% - 6px);
  max-width: calc(66.666% - 6px);
}

.ha-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,22,40,0.6) 0%, rgba(10,22,40,0.15) 50%, rgba(10,22,40,0.05) 100%);
  z-index: 1;
}

.ha-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--ha-bg);
  background-size: cover;
  background-position: center;
  transition: transform 0.7s ease;
  z-index: 0;
  will-change: transform;
  backface-visibility: hidden;
}

.ha-card:hover::after {
  transform: scale(1.06);
}

.ha-card video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
}

.ha-card:hover {
  transform: translateY(-3px);
}

/* Wider portrait cards — no squares, all rectangles */
.ha-short  { height: 260px; }
.ha-med    { height: 340px; }
.ha-tall   { height: 420px; }

.ha-content {
  position: relative;
  z-index: 2;
}

.ha-content .category-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--brass);
  display: inline-block;
  margin-bottom: 10px;
  padding: 4px 10px;
  background: rgba(0,0,0,0.5);
  border-radius: 4px;
  backdrop-filter: blur(4px);
}

.ha-content h3 {
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1.3;
  color: #fff;
  margin-bottom: 6px;
}

.ha-content p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.5;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Subscribe bar inside the article wall — styled to blend with cards */
.ha-subscribe {
  flex: 2 1 calc(66.666% - 6px);
  min-width: 260px;
  max-width: calc(66.666% - 6px);
  height: 340px;
  background: linear-gradient(180deg, rgba(17,29,46,0.9) 0%, rgba(10,22,40,0.98) 100%);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
}

.ha-subscribe::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../images/doan-tuan-3QFQOxGCVmE-unsplash.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.6;
  z-index: 0;
}

.ha-subscribe::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,22,40,0.2) 0%, rgba(10,22,40,0.4) 60%, rgba(10,22,40,0.6) 100%);
  z-index: 1;
  pointer-events: none;
}

.ha-subscribe-content {
  position: relative;
  z-index: 2;
}

.ha-subscribe h3 {
  font-size: 1.05rem;
  color: #fff;
  margin-bottom: 10px;
  line-height: 1.3;
}

.ha-subscribe p {
  font-size: 0.85rem;
  color: #8a95a8;
  line-height: 1.5;
  margin-bottom: 16px;
}

/* ---- Section Navigation (Sticky Left Sidebar) ---- */
.section-nav {
  position: fixed;
  left: 24px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 16px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.section-nav.visible {
  opacity: 1;
  visibility: visible;
}

.section-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  padding: 4px 0;
}

.section-nav-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  border: 1px solid rgba(255,255,255,0.25);
  transition: background-color 0.3s ease, border-color 0.3s ease;
  flex-shrink: 0;
}

.section-nav-item:hover .section-nav-dot,
.section-nav-item.active .section-nav-dot {
  background: var(--brass);
  border-color: var(--brass);
  box-shadow: 0 0 12px rgba(184,149,106,0.6);
}

.section-nav-item.active .section-nav-dot {
  width: 14px;
  height: 14px;
}

.section-nav-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.85);
  white-space: nowrap;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.2s ease, transform 0.2s ease, max-width 0.2s ease;
  max-width: 0;
  overflow: hidden;
}

.section-nav:hover .section-nav-label,
.section-nav-item:hover .section-nav-label {
  opacity: 1;
  transform: translateX(0);
  max-width: 200px;
}

.section-nav-item.active .section-nav-label {
  color: var(--brass);
}

.section-nav-mobile-btn {
  display: none;
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 100;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--brass);
  color: var(--ink);
  border: none;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

/* ---- Tab Bar ---- */
.tab-bar {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--border-dark);
  background: var(--ink-elevated);
  position: relative;
  z-index: 50;
}

.tab-bar.sticky {
  position: sticky;
  top: 72px;
  z-index: 998;
}

.tab-bar-item {
  padding: 16px 24px;
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--parchment-dim);
  cursor: pointer;
  border: none;
  background: none;
  border-bottom: 3px solid transparent;
  transition: color 0.25s ease, border-bottom-color 0.25s ease;
  white-space: nowrap;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.tab-bar-item:hover {
  color: var(--parchment);
  background: rgba(255,255,255,0.06);
}

.tab-bar-item.active {
  color: var(--brass);
  border-bottom-color: var(--brass);
  font-weight: 600;
}

/* ---- Sub Navigation Bar ---- */
.sub-nav {
  background: var(--ink-elevated);
  border-bottom: 1px solid var(--border-dark);
  position: relative;
  z-index: 50;
}

.sub-nav.sticky {
  position: sticky;
  top: 72px;
  z-index: 998;
}

.sub-nav-inner {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0 48px;
  max-width: 1200px;
  margin: 0 auto;
  height: 48px;
  overflow-x: auto;
  scrollbar-width: none;
}

.sub-nav-inner::-webkit-scrollbar {
  display: none;
}

.sub-nav-link {
  padding: 12px 16px;
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--parchment-dim);
  text-decoration: none;
  white-space: nowrap;
  border-radius: 6px;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.sub-nav-link:hover {
  color: var(--parchment);
  background: rgba(255,255,255,0.03);
}

.sub-nav-link.active {
  color: var(--brass);
  background: rgba(184,149,106,0.08);
}

.sub-nav-separator {
  color: var(--border-dark);
  font-size: 0.7rem;
  margin: 0 4px;
}

/* ---- Accordion ---- */
.accordion {
  border-top: 1px solid var(--border-dark);
}

.accordion-item {
  border-bottom: 1px solid var(--border-dark);
}

.accordion-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  cursor: pointer;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  color: var(--parchment);
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 600;
  transition: color 0.3s ease;
}

.accordion-header:hover {
  color: var(--brass);
}

.accordion-header-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.accordion-number {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  color: var(--brass);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  min-width: 60px;
}

.accordion-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 600;
}

.accordion-arrow {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--border-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--parchment-dim);
  transition: border-color 0.3s ease;
  flex-shrink: 0;
}

.accordion-arrow i {
  font-size: 0.75rem;
  transition: transform 0.3s ease;
}

.accordion-item.open .accordion-arrow {
  border-color: var(--brass);
  color: var(--brass);
}

.accordion-item.open .accordion-arrow i {
  transform: rotate(180deg);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1), padding 0.3s ease;
}

.accordion-item.open .accordion-body {
  max-height: 2000px;
  padding-bottom: 32px;
}

.accordion-body-inner {
  padding-left: 76px;
  max-width: 720px;
}

.accordion-body-inner p {
  color: var(--parchment-muted);
  line-height: 1.7;
  margin-bottom: 16px;
}

/* ---- Responsive for Dynamic Components ---- */

@media (max-width: 1024px) {
  .section-nav {
    display: none;
  }
  
  .section-nav-mobile-btn {
    display: flex;
  }
  
  .ha-card,
  .ha-subscribe {
    flex: 1 1 calc(50% - 9px);
    max-width: none;
  }
}

@media (max-width: 768px) {
  .featured-hero {
    padding: 120px 0 60px;
  }
  
  .ha-card,
  .ha-subscribe {
    flex: 1 1 100%;
    max-width: none;
    height: auto;
    min-height: 280px;
  }
  
  .ha-short { min-height: 240px; }
  .ha-med   { min-height: 300px; }
  .ha-tall  { min-height: 360px; }
  
  .tab-bar {
    overflow-x: auto;
    scrollbar-width: none;
  }
  
  .tab-bar::-webkit-scrollbar {
    display: none;
  }
  
  .tab-bar-item {
    padding: 14px 16px;
    font-size: 0.75rem;
  }
  
  .sub-nav-inner {
    padding: 0 24px;
    height: 44px;
  }
  
  .accordion-header {
    padding: 18px 0;
  }
  
  .accordion-title {
    font-size: 1.1rem;
  }
  
  .accordion-body-inner {
    padding-left: 0;
  }
  
  .accordion-number {
    min-width: 40px;
    font-size: 0.6rem;
  }
}

@media (max-width: 480px) {
  .featured-main h2 {
    font-size: 1.3rem;
  }
  
  .featured-main p {
    font-size: 0.9rem;
  }
  
  .trending-card-content h4 {
    font-size: 0.9rem;
  }
}


/* ========================================
   MCKINSEY-STYLE HEADER & DRAWER
   ======================================== */

/* ---- Drawer Toggle (Hamburger) ---- */
.drawer-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  color: #fff;
  margin-right: 12px;
  border-radius: 0;
  position: relative;
  z-index: 1001;
}

.drawer-toggle:hover {
  opacity: 0.8;
}

/* ---- Drawer Overlay ---- */
.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 1001;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.drawer-overlay.open {
  opacity: 1;
  visibility: visible;
}

/* Mobile menu button always on dark header bar - keep light */
.mobile-menu-btn {
  color: #b8bcc2;
}
.mobile-menu-btn:hover {
  color: #f5f5f0;
}

.nav-center {
  display: flex;
  list-style: none;
  gap: 6px;
  align-items: center;
}

.nav-center a {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--parchment-muted);
  padding: 8px 16px;
  border-radius: 6px;
  transition: color 0.35s ease, background-color 0.35s ease;
}

.nav-center a:hover,
.nav-center a.active {
  color: var(--parchment);
  background: rgba(var(--tint-rgb), 0.03);
}

.dropdown { position: relative; }

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 8px;
  background: var(--ink-elevated);
  min-width: 280px;
  border: 1px solid var(--border-dark);
  border-radius: 8px;
  padding: 8px 0;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
}

/* Invisible hover bridge so the dropdown doesn't disappear when moving the mouse down */
.dropdown-content::before {
  content: '';
  position: absolute;
  top: -20px;
  left: 0;
  right: 0;
  height: 20px;
}

/* Overview link styling in sub-dropdowns */
.dropdown-content .dropdown-content a:first-child {
  font-weight: 600;
  border-bottom: 1px solid var(--border-dark);
  margin-bottom: 4px;
  padding-bottom: 10px;
}

.dropdown-content a {
  display: block;
  padding: 10px 20px;
  font-size: 0.88rem;
  text-transform: none;
  letter-spacing: 0.01em;
  color: var(--parchment-muted);
  border-bottom: none;
  border-radius: 0;
}

.dropdown-content a:hover {
  color: var(--parchment);
  background: rgba(var(--tint-rgb), 0.02);
}

.dropdown:hover > .dropdown-content {
  display: block;
}

.dropdown.open > .dropdown-content {
  display: block;
  animation: fadeIn 0.2s ease;
}

/* Nested dropdown inside dropdown-content */
.dropdown-content .dropdown {
  position: relative;
}

.dropdown-content .dropdown > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dropdown-content .dropdown > a::after {
  content: 'A';
  font-size: 1.2rem;
  margin-left: 8px;
  color: var(--parchment-muted);
}

.dropdown-content .dropdown-content {
  display: none;
  position: absolute;
  top: 0;
  left: 100%;
  margin-left: 4px;
  min-width: 240px;
}

/* Horizontal hover bridge for nested dropdowns */
.dropdown-content .dropdown-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: -20px;
  width: 20px;
  bottom: 0;
}

.dropdown-content .dropdown:hover > .dropdown-content {
  display: block;
}

.dropdown-content .dropdown.open > .dropdown-content {
  display: block;
  animation: fadeIn 0.2s ease;
}

/* ========================================
   MEGA MENU (McKinsey-style)
   ======================================== */

.mega-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 998;
  pointer-events: none;
}

.mega-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: none;
}

.mega-menu {
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  background: var(--ink-elevated);
  border-bottom: 1px solid var(--border-dark);
  box-shadow: 0 24px 48px rgba(0,0,0,0.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
  z-index: 999;
  pointer-events: none;
}

.mega-menu.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.mega-menu-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 48px;
  display: flex;
  gap: 48px;
}

.mega-featured {
  flex: 0 0 320px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mega-featured-card {
  display: block;
  position: relative;
  height: 130px;
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.3s ease;
  will-change: transform;
  backface-visibility: hidden;
}

.mega-featured-card:hover {
  transform: scale(1.03);
}

.mega-featured-card p {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.4;
  margin: 6px 0 0;
}

.mega-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--brass);
  display: block;
  margin-bottom: 4px;
}

.mega-featured-card h4 {
  font-size: 0.9rem;
  color: #fff;
  line-height: 1.3;
  margin: 0;
}

.mega-columns {
  flex: 1;
  display: flex;
  gap: 40px;
}

.mega-col {
  flex: 1;
}

.mega-col-header {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--brass);
  margin-bottom: 16px;
  display: block;
  text-decoration: none;
  transition: color 0.2s ease;
}

.mega-col-header:hover {
  color: #fff;
}

.mega-col h5 {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--brass);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-dark);
}

.mega-col ul {
  list-style: none;
}

.mega-col ul li {
  margin-bottom: 10px;
}

.mega-col ul li a {
  font-size: 0.88rem;
  color: var(--parchment-muted);
  transition: color 0.2s ease;
  display: inline-block;
}

.mega-col ul li a:hover {
  color: var(--parchment);
}

/* Desktop: hide old dropdown-content for mega-menu items */
.dropdown.has-mega > .dropdown-content {
  display: none !important;
}

/* ========================================
   SEARCH TOGGLE
   ======================================== */

.search-toggle {
  background: none;
  border: none;
  color: var(--parchment-muted);
  font-size: 0.95rem;
  padding: 8px 12px;
  border-radius: 6px;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease;
}

.search-toggle:hover {
  color: var(--parchment);
  background: rgba(var(--tint-rgb), 0.03);
}

/* ---- Drawer Panel (Hybrid) ---- */
.drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 800px;
  max-width: 92vw;
  height: 100vh;
  background: #0a1628;
  border-right: 1px solid rgba(255,255,255,0.08);
  z-index: 1002;
  transform: translateX(-100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.drawer.open {
  transform: translateX(0);
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 28px 20px 108px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  flex-shrink: 0;
  background: #0a1628;
  z-index: 2;
}

.drawer-header .logo {
  font-size: 1.4rem;
  margin: 0;
}

.drawer-back {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  background: none;
  color: #fff;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: background-color 0.2s ease, border-color 0.2s ease;
  padding: 0;
  flex-shrink: 0;
}

.drawer-back.visible {
  display: flex;
}

.drawer-back:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.3);
}

.drawer-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  background: none;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: background-color 0.2s ease, border-color 0.2s ease;
  padding: 0;
  flex-shrink: 0;
}

.drawer-close:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.3);
}

/* Desktop: split-layout */
.drawer-body {
  position: relative;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}

.drawer-desktop {
  display: flex;
  height: 100%;
  min-height: 0;
  padding: 0;
  overflow: hidden;
}

.drawer-tabs {
  width: 220px;
  flex-shrink: 0;
  border-right: 1px solid rgba(255,255,255,0.08);
  padding: 16px 0;
  overflow-y: auto;
  min-height: 0;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.1) transparent;
}

.drawer-tab {
  padding: 14px 24px;
  cursor: pointer;
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-weight: 500;
  color: rgba(255,255,255,0.65);
  transition: color 0.2s ease, background-color 0.2s ease;
  border-left: 3px solid transparent;
  margin-bottom: 2px;
}

.drawer-tab:hover {
  color: #fff;
  background: rgba(255,255,255,0.04);
}

.drawer-tab.active {
  color: #c9a87c;
  background: rgba(201,168,124,0.08);
  border-left-color: #c9a87c;
}

.drawer-tab-cta {
  padding: 20px 24px;
  margin-top: auto;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.drawer-tab-cta h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  margin-bottom: 6px;
  color: #fff;
}

.drawer-tab-cta p {
  font-size: 0.8rem;
  color: #8a95a8;
  line-height: 1.5;
  margin-bottom: 10px;
}

.drawer-tab-cta a {
  font-size: 0.8rem;
  color: #c9a87c;
  text-decoration: none;
  font-weight: 600;
}

.drawer-content {
  flex: 1;
  padding: 32px 36px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.1) transparent;
}

.drawer-tab-panel {
  display: none;
}

.drawer-tab-panel.active {
  display: block;
  height: 100%;
  min-height: 0;
  overflow-y: auto;
  animation: drawerFadeIn 0.25s ease;
}

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

.drawer-tab-panel h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 24px;
}

.drawer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.drawer-links li {
  margin-bottom: 4px;
}

.drawer-links a {
  display: block;
  padding: 10px 0;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 400;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  transition: color 0.2s ease;
}

.drawer-links a:hover {
  color: #c9a87c;
  padding-left: 6px;
}

.drawer-links a small {
  display: block;
  font-size: 0.78rem;
  color: #8a95a8;
  font-weight: 400;
  margin-top: 3px;
}

/* Mobile: hidden by default */
.drawer-mobile {
  display: none;
}

/* ---- Header Restructure ---- */
.header .nav-container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
}

.nav-cta {
  margin-left: auto;
}

.header .logo {
  margin-right: 24px;
  flex-shrink: 0;
}

.header nav {
  display: flex;
  justify-content: flex-start;
  margin-left: 8px;
}

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

.nav-center > li > a {
  padding: 10px 16px;
  font-size: 0.95rem;
  font-weight: 500;
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  transition: color 0.2s ease;
  white-space: nowrap;
  letter-spacing: 0.01em;
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-center > li > a:hover,
.nav-center > li > a.active {
  color: #fff;
  background: rgba(255,255,255,0.08);
}

/* Dropdown arrow for mega menu tabs */
.nav-center > li.has-mega > a::after {
  content: '';
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid rgba(255,255,255,0.5);
  transition: transform 0.25s ease, border-top-color 0.2s ease;
}

.nav-center > li.has-mega:hover > a::after,
.nav-center > li.has-mega > a.active::after {
  transform: rotate(180deg);
  border-top-color: #fff;
}

/* Hide mobile menu btn, show drawer-toggle on desktop too */
.mobile-menu-btn {
  display: none;
}

/* ---- Responsive Drawer ---- */
@media (max-width: 768px) {
  .drawer {
    width: 100vw;
    max-width: 100vw;
  }

  .drawer-header {
    padding: 20px 16px;
  }

  .drawer-desktop {
    display: none;
  }

  .drawer-mobile {
    display: block;
    position: relative;
    height: 100%;
    min-height: 0;
    overflow: hidden;
  }

  .drawer-panel-wrapper {
    display: flex;
    height: 100%;
    min-height: 0;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .drawer-panel-level {
    width: 100%;
    height: 100%;
    min-height: 0;
    flex-shrink: 0;
    overflow-y: auto;
    background: #0a1628;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-y: contain;
  }

  .drawer-nav-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
  }

  .drawer-nav-item:hover {
    background: rgba(255,255,255,0.04);
    color: #fff;
  }

  .drawer-nav-item span {
    font-family: 'Playfair Display', serif;
  }

  .drawer-arrow {
    color: rgba(255,255,255,0.4);
    flex-shrink: 0;
    transition: color 0.2s ease;
  }

  .drawer-nav-item:hover .drawer-arrow {
    color: var(--brass);
  }

  .drawer-sub-back {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 20px;
    background: none;
    border: none;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    color: rgba(255,255,255,0.7);
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    width: 100%;
    text-align: left;
    transition: color 0.2s ease, background-color 0.2s ease;
  }

  .drawer-sub-back:hover {
    color: #fff;
    background: rgba(255,255,255,0.04);
  }

  .drawer-sub-links {
    padding: 12px 20px;
  }

  .drawer-sub-links a {
    display: block;
    padding: 12px 0;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 400;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    transition: color 0.2s ease;
  }

  .drawer-sub-links a:hover {
    color: #c9a87c;
  }

  .drawer-featured {
    padding: 12px 20px 20px;
  }

  .drawer-featured-grid {
    padding: 12px 20px 20px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .drawer-featured-card {
    display: block;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 10px;
    padding: 16px;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.3s ease, transform 0.3s ease;
  }

  .drawer-featured-card:hover {
    border-color: rgba(201,168,124,0.3);
    transform: translateY(-2px);
  }

  .drawer-featured-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--brass);
    display: block;
    margin-bottom: 6px;
  }

  .drawer-featured-card h4 {
    font-size: 1rem;
    color: #fff;
    margin: 0 0 6px;
    line-height: 1.3;
  }

  .drawer-featured-card p {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.55);
    line-height: 1.5;
    margin: 0;
  }

  .drawer-featured-card-img {
    position: relative;
    height: 90px;
    overflow: hidden;
    padding: 0;
    border-radius: 10px;
  }

  .drawer-featured-card-img img,
  .drawer-featured-card-img video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .drawer-featured-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10,22,40,0.92) 0%, rgba(10,22,40,0.4) 50%, transparent 100%);
  }

  .drawer-featured-text {
    position: relative;
    z-index: 1;
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
  }

  .drawer-featured-text .drawer-featured-label {
    margin-bottom: 3px;
  }

  .drawer-featured-text h4 {
    font-size: 0.82rem;
    margin: 0;
  }

  .header .nav-center {
    display: none;
  }

  .mobile-menu-btn {
    display: none !important;
  }
}
/* ---- Search Overlay ---- */
.search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10,22,40,0.97);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.search-overlay.open {
  opacity: 1;
  visibility: visible;
}

.search-overlay-inner {
  width: 100%;
  max-width: 700px;
  padding: 0 24px;
}

.search-close {
  position: absolute;
  top: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  background: none;
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.search-close:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.3);
}

.search-input-wrap {
  position: relative;
  margin-bottom: 32px;
}

.search-input-wrap i {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  color: var(--brass);
  font-size: 1.4rem;
}

.search-input-wrap input {
  width: 100%;
  background: none;
  border: none;
  border-bottom: 2px solid rgba(255,255,255,0.15);
  padding: 20px 20px 20px 44px;
  font-size: 1.6rem;
  font-family: 'Inter', sans-serif;
  color: #fff;
  outline: none;
  transition: border-color 0.3s ease;
}

.search-input-wrap input:focus {
  border-bottom-color: var(--brass);
}

.search-input-wrap input::placeholder {
  color: rgba(255,255,255,0.3);
}

.search-suggestions h4 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--brass);
  margin-bottom: 16px;
}

.search-suggestions ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.search-suggestions li {
  margin-bottom: 4px;
}

.search-suggestions a,
.search-result-item {
  display: block;
  padding: 14px 0;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: color 0.2s ease;
  cursor: pointer;
}

.search-suggestions a:hover,
.search-result-item:hover,
.search-result-item.active {
  color: var(--brass);
  padding-left: 8px;
}

.search-result-item .result-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--brass);
  display: block;
  margin-bottom: 4px;
}

.search-result-item .result-title {
  font-size: 1.05rem;
  color: #fff;
  line-height: 1.35;
}

.search-no-results {
  color: rgba(255,255,255,0.4);
  font-size: 1rem;
  padding: 20px 0;
  text-align: center;
}

/* ---- Hero Subscribe Section ---- */
.hero-subscribe {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 32px;
  margin-top: 40px;
  max-width: 480px;
}

.hero-subscribe h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  margin-bottom: 8px;
  color: #fff;
}

.hero-subscribe p {
  font-size: 0.88rem;
  color: #8a95a8;
  margin-bottom: 20px;
  line-height: 1.5;
}

.hero-subscribe-form {
  display: flex;
  gap: 10px;
}

.hero-subscribe-form input {
  flex: 1;
  padding: 12px 16px;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.05);
  color: #fff;
  font-size: 0.9rem;
}

.hero-subscribe-form input::placeholder {
  color: #8a95a8;
}

.hero-subscribe-form button {
  padding: 12px 20px;
  border-radius: 6px;
  border: none;
  background: #c9a87c;
  color: #0a1628;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s ease;
}

.hero-subscribe-form button:hover {
  background: #d4b88a;
}

/* ---- Related Insights Section ---- */
.related-insights {
  padding: 80px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.related-insights-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 40px;
}

.related-insights-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 600;
}

.related-insights-header a {
  font-size: 0.85rem;
  color: #c9a87c;
  text-decoration: none;
  font-weight: 500;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.related-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px;
  overflow: hidden;
  transition: border-color 0.3s ease, transform 0.3s ease;
  text-decoration: none;
  color: inherit;
  backface-visibility: hidden;
}

.related-card:hover {
  border-color: rgba(201,168,124,0.3);
  transform: translateY(-4px);
}

.related-card-img {
  height: 160px;
  background-size: cover;
  background-position: center;
}

.related-card-content {
  padding: 20px;
}

.related-card-content .category-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #c9a87c;
  margin-bottom: 8px;
  display: block;
}

.related-card-content h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 8px;
  color: #fff;
}

.related-card-content .date {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  color: #8a95a8;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

@media (max-width: 768px) {
  .related-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-subscribe {
    padding: 24px;
  }
  
  .hero-subscribe-form {
    flex-direction: column;
  }

  .hero-articles .container {
    padding: 0;
  }

  .ha-card,
  .ha-subscribe {
    border-radius: 0;
  }

  .drawer-mobile-cta {
    margin-top: auto;
    padding: 20px;
    border-top: 1px solid rgba(255,255,255,0.06);
  }

  .drawer-mobile-cta a {
    display: block;
    padding: 14px 16px;
    margin-bottom: 10px;
    border-radius: 8px;
    text-align: center;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: background-color 0.2s ease;
  }

  .drawer-mobile-cta .cta-primary {
    background: #c9a87c;
    color: #0a1628;
  }

  .drawer-mobile-cta .cta-primary:hover {
    background: #d4b88a;
  }

  .drawer-mobile-cta .cta-secondary {
    background: rgba(255,255,255,0.06);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.1);
  }

  .drawer-mobile-cta .cta-secondary:hover {
    background: rgba(255,255,255,0.1);
  }
}
