/* ═══════════════════════════════════════════════════════════════════
   EDGE MANAGEMENT LLC — MASTER STYLESHEET
   Design system, components, animations
   Theme: Navy + Emerald (lifted) — institutional climate finance
═══════════════════════════════════════════════════════════════════ */

/* ── DESIGN TOKENS ─────────────────────────────────────────────── */
:root {
  /* Brand colors — Navy + Emerald palette, ~10% lightened
     Token names retained from original system for compatibility;
     values updated to navy + emerald + amber + orange. */
  --plum:        #16283F;   /* lighter navy — main bg */
  --plum-deep:   #101D2F;   /* deep navy — alt sections, footer */
  --plum-mid:    #1A5783;   /* mid teal-navy — supporting tone */
  --magenta:     #E65100;   /* burnt orange — primary CTA */
  --magenta-hi:  #FF6B1A;   /* lighter orange — hover state */
  --violet:      #1D9E75;   /* emerald — secondary accent */
  --purple:      #0F6E56;   /* deep emerald — gradient depth */
  --cream:       #F8F7F4;   /* warm white — body text on dark */
  --ivory:       #FFFFFF;   /* pure white — headlines */
  --ivory-dim:   #E5E2DC;   /* secondary headlines */

  /* Functional */
  --bg:          var(--plum);
  --bg-deep:     var(--plum-deep);
  --bg-card:     #1F3756;   /* card backgrounds */
  --bg-elev:     #284468;   /* elevated / hover */
  --bg-card-hi:  #2F4D74;   /* card hover accent */
  --bg-card-mid: #243D5F;   /* card middle gradient stop */
  --accent:      var(--magenta);
  --accent-hi:   var(--magenta-hi);
  --text:        var(--cream);
  --text-mute:   #C4D0DE;   /* body text */
  --text-dim:    #8898AE;   /* small / meta text */
  --amber:       #F4B942;   /* highlights (NEW badges, stat numbers) */
  --border:      rgba(248, 247, 244, 0.10);
  --border-hi:   rgba(248, 247, 244, 0.22);
  --border-acc:  rgba(29, 158, 117, 0.40);

  /* Type */
  --serif:  'Cormorant Garamond', Georgia, serif;
  --sans:   'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Layout */
  --max:     1400px;
  --gutter:  5vw;
  --nav-h:   80px;

  /* Motion */
  --ease:    cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out:cubic-bezier(0.16, 1, 0.3, 1);
  --t-fast:  0.2s;
  --t-mid:   0.4s;
  --t-slow:  0.7s;
}

/* ── RESET ─────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
html { overflow-x: hidden; }  /* Prevent horizontal scroll on mobile (defensive) */
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
ul, ol { list-style: none; }

/* ── CUSTOM SCROLLBAR ──────────────────────────────────────────── */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--plum-deep); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--magenta), var(--violet));
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover { background: linear-gradient(180deg, var(--magenta-hi), var(--violet)); }
* { scrollbar-width: thin; scrollbar-color: var(--magenta) var(--plum-deep); }

/* ── TYPOGRAPHY ────────────────────────────────────────────────── */
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.1; letter-spacing: -0.01em; color: var(--ivory); }
h1 { font-size: clamp(44px, 6vw, 84px); }
h2 { font-size: clamp(34px, 4vw, 56px); }
h3 { font-size: clamp(22px, 2vw, 28px); }
h4 { font-size: clamp(18px, 1.4vw, 22px); }
.serif { font-family: var(--serif); }
em { font-style: italic; color: var(--ivory-dim); }
/* ── LAYOUT PRIMITIVES ─────────────────────────────────────────── */
section { padding: 100px var(--gutter); position: relative; }
.section-tight { padding: 70px var(--gutter); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 10px; font-weight: 700; letter-spacing: 0.25em;
  text-transform: uppercase; color: var(--violet);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: ''; display: block; width: 32px; height: 1px;
  background: linear-gradient(90deg, var(--magenta), var(--violet));
}
.eyebrow.center { justify-content: center; }
.eyebrow.center::before { display: none; }

.section-title { color: var(--ivory); margin-bottom: 22px; }
.section-title em { color: var(--violet); }
.section-lead { font-size: 15px; line-height: 1.85; color: var(--text-mute); max-width: 640px; margin-bottom: 50px; }

.divider { height: 1px; background: linear-gradient(90deg, transparent, var(--border-hi), transparent); margin: 0; border: 0; }

/* ── BUTTONS ───────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 32px;
  font-family: var(--sans); font-size: 11.5px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  transition: all var(--t-mid) var(--ease);
  cursor: pointer; border: 1px solid transparent;
  position: relative; overflow: hidden;
}
.btn-primary {
  background: linear-gradient(135deg, var(--magenta), var(--violet));
  color: var(--ivory);
  box-shadow: 0 4px 24px rgba(230, 81, 0, 0.35);
}
.btn-primary::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--magenta-hi), var(--purple));
  opacity: 0; transition: opacity var(--t-mid) var(--ease);
}
.btn-primary span { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 10px; }
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(230, 81, 0, 0.55), 0 0 24px rgba(29, 158, 117, 0.4);
}
.btn-primary:hover::before { opacity: 1; }

.btn-ghost {
  background: transparent;
  border: 1px solid var(--border-hi);
  color: var(--ivory);
}
.btn-ghost:hover {
  border-color: var(--violet);
  background: rgba(29, 158, 117, 0.08);
  color: var(--ivory);
}

/* ═══════════════════════════════════════════════════════════════
   NAVIGATION
═══════════════════════════════════════════════════════════════ */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--gutter);
  background: rgba(16, 29, 47, 0.4);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: all var(--t-mid) var(--ease);
}
.site-nav.scrolled {
  background: rgba(16, 29, 47, 0.92);
  border-bottom-color: var(--border);
  box-shadow: 0 4px 32px rgba(0,0,0,0.3);
}

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

.nav-brand:hover .nav-logo { transform: scale(1.06); }
.nav-menu { display: flex; align-items: center; gap: 4px; }
.nav-item { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 12px 16px;
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-mute);
  transition: color var(--t-fast) var(--ease);
  position: relative;
}
.nav-link::after {
  content: ''; position: absolute;
  bottom: 4px; left: 16px; right: 16px; height: 1px;
  background: linear-gradient(90deg, var(--magenta), var(--violet));
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--t-mid) var(--ease);
}
.nav-link:hover, .nav-link.active { color: var(--ivory); }
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }

.nav-link .chev {
  width: 10px; height: 10px; transition: transform var(--t-mid) var(--ease);
}
.nav-item.has-dropdown:hover .chev,
.nav-item.has-dropdown.open .chev { transform: rotate(180deg); }

/* Dropdowns */
.nav-dropdown {
  position: absolute; top: calc(100% - 4px); left: 0;
  min-width: 280px;
  background: rgba(16, 29, 47, 0.97);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  padding: 12px;
  opacity: 0; visibility: hidden;
  transform: translateY(-8px);
  transition: opacity var(--t-mid) var(--ease), transform var(--t-mid) var(--ease), visibility 0s linear var(--t-mid);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.nav-item.has-dropdown:hover .nav-dropdown,
.nav-item.has-dropdown.open .nav-dropdown {
  opacity: 1; visibility: visible; transform: translateY(0);
  transition: opacity var(--t-mid) var(--ease), transform var(--t-mid) var(--ease), visibility 0s;
}
.nav-dropdown a {
  display: block; padding: 14px 16px;
  font-size: 12px; font-weight: 600;
  color: var(--text-mute);
  letter-spacing: 0.06em;
  border-left: 2px solid transparent;
  transition: all var(--t-fast) var(--ease);
}
.nav-dropdown a small {
  display: block;
  font-size: 10px; font-weight: 400;
  color: var(--text-dim); margin-top: 4px;
  letter-spacing: 0; text-transform: none;
}
.nav-dropdown a:hover {
  color: var(--ivory);
  background: rgba(29, 158, 117, 0.12);
  border-left-color: var(--violet);
  padding-left: 20px;
}

.nav-cta {
  margin-left: 8px;
  padding: 12px 22px;
  background: transparent;
  border: 1px solid var(--violet);
  color: var(--ivory);
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  transition: all var(--t-mid) var(--ease);
  position: relative; overflow: hidden;
}
.nav-cta::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--magenta), var(--violet));
  transform: translateX(-100%);
  transition: transform var(--t-mid) var(--ease);
}
.nav-cta span { position: relative; z-index: 1; }
.nav-cta:hover {
  border-color: transparent;
  box-shadow: 0 0 24px rgba(29, 158, 117, 0.5);
}
.nav-cta:hover::before { transform: translateX(0); }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  flex-direction: column; justify-content: center; align-items: center;
  gap: 5px;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--ivory);
  transition: all var(--t-mid) var(--ease);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu drawer */
.mobile-menu {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: 88%; max-width: 380px;
  background: var(--plum-deep);
  z-index: 99;
  padding: calc(var(--nav-h) + 30px) 32px 32px;
  transform: translateX(100%);
  transition: transform var(--t-mid) var(--ease);
  overflow-y: auto;
  border-left: 1px solid var(--border);
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu a {
  display: block; padding: 14px 0;
  font-size: 14px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-mute);
  border-bottom: 1px solid var(--border);
}
.mobile-menu a:hover, .mobile-menu a.active { color: var(--ivory); }
.mobile-submenu { padding-left: 16px; }
.mobile-submenu a {
  font-size: 12px; padding: 10px 0;
  color: var(--text-dim);
  letter-spacing: 0.08em;
  text-transform: none;
}
.mobile-section-label {
  font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--violet); padding: 18px 0 6px; font-weight: 700;
  border: 0;
}
.mobile-cta {
  display: block; margin-top: 30px;
  padding: 16px !important; text-align: center;
  background: linear-gradient(135deg, var(--magenta), var(--violet));
  color: var(--ivory) !important; border: 0 !important;
  letter-spacing: 0.14em !important;
}
.mobile-overlay {
  position: fixed; inset: 0; z-index: 98;
  background: rgba(0,0,0,0.6);
  opacity: 0; visibility: hidden;
  transition: opacity var(--t-mid) var(--ease), visibility 0s linear var(--t-mid);
}
.mobile-overlay.open { opacity: 1; visibility: visible; transition: opacity var(--t-mid) var(--ease), visibility 0s; }

/* ═══════════════════════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════════════════════ */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  padding: calc(var(--nav-h) + 60px) var(--gutter) 80px;
  overflow: hidden;
  background: radial-gradient(ellipse at top right, rgba(29, 158, 117, 0.25), transparent 60%),
              radial-gradient(ellipse at bottom left, rgba(97, 34, 131, 0.18), transparent 70%),
              var(--plum-deep);
}
#particle-canvas {
  position: absolute; inset: 0; z-index: 0;
  opacity: 0.6;
}
.hero-watermark {
  position: absolute; right: 4vw; top: 50%;
  transform: translateY(-50%);
  font-family: var(--serif); font-size: 320px; font-weight: 600;
  color: var(--ivory); opacity: 0.025;
  pointer-events: none; z-index: 0; line-height: 1;
}
.hero-content { position: relative; z-index: 2; max-width: 880px; }
.hero-eyebrow { color: var(--violet); }
.hero h1 { color: var(--ivory); margin-bottom: 30px; }
.hero h1 em { color: var(--violet); display: inline-block; }
.hero-sub {
  font-size: 16px; line-height: 1.8;
  color: var(--text-mute); max-width: 600px; margin-bottom: 48px;
}
.hero-actions { display: flex; gap: 18px; flex-wrap: wrap; }

/* Page hero (smaller) */
.page-hero {
  position: relative; min-height: 60vh;
  display: flex; align-items: center;
  padding: calc(var(--nav-h) + 80px) var(--gutter) 80px;
  overflow: hidden;
  background: radial-gradient(ellipse at top right, rgba(29, 158, 117, 0.25), transparent 60%),
              var(--plum-deep);
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(248, 247, 244, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(248, 247, 244, 0.025) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
}
.page-hero-inner { position: relative; z-index: 2; max-width: 880px; }
.breadcrumb {
  font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--text-dim); margin-bottom: 20px;
}
.breadcrumb a { color: var(--text-mute); transition: color var(--t-fast) var(--ease); }
.breadcrumb a:hover { color: var(--violet); }
.breadcrumb span { color: var(--text-dim); margin: 0 8px; }

/* ═══════════════════════════════════════════════════════════════
   STATS
═══════════════════════════════════════════════════════════════ */
.stats-strip {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: var(--border);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.stat-cell {
  background: var(--plum-deep);
  padding: 50px 36px;
  position: relative;
}
.stat-cell::before {
  content: ''; position: absolute; top: 0; left: 0; width: 0; height: 2px;
  background: linear-gradient(90deg, var(--magenta), var(--violet));
  transition: width var(--t-slow) var(--ease);
}
.stat-cell.in-view::before { width: 100%; }
.stat-num {
  font-family: var(--serif); font-size: 56px; font-weight: 600;
  color: var(--ivory); line-height: 1;
  display: flex; align-items: baseline; gap: 6px;
}
.stat-suffix { font-size: 28px; color: var(--violet); }
.stat-label {
  margin-top: 14px; font-size: 11px; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--text-mute);
}

/* ═══════════════════════════════════════════════════════════════
   TICKER
═══════════════════════════════════════════════════════════════ */
.ticker {
  background: var(--plum-deep);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  padding: 22px 0;
  position: relative;
}
.ticker::before, .ticker::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 100px; z-index: 2;
  pointer-events: none;
}
.ticker::before { left: 0; background: linear-gradient(90deg, var(--plum-deep), transparent); }
.ticker::after { right: 0; background: linear-gradient(-90deg, var(--plum-deep), transparent); }
.ticker-track {
  display: flex; gap: 60px;
  animation: tickerScroll 50s linear infinite;
  white-space: nowrap;
}
.ticker-item {
  display: inline-flex; align-items: center; gap: 18px;
  font-family: var(--serif); font-size: 18px; font-style: italic;
  color: var(--ivory-dim); font-weight: 400;
}
.ticker-item::before {
  content: '◆'; color: var(--violet); font-size: 10px;
}
@keyframes tickerScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ═══════════════════════════════════════════════════════════════
   CARDS
═══════════════════════════════════════════════════════════════ */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 36px 32px;
  transition: all var(--t-mid) var(--ease);
  position: relative; overflow: hidden;
}
.card::before {
  content: ''; position: absolute; top: 0; left: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--magenta), var(--violet));
  transform: scaleY(0); transform-origin: top;
  transition: transform var(--t-mid) var(--ease);
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hi);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.4), 0 0 36px rgba(29, 158, 117, 0.15);
}
.card:hover::before { transform: scaleY(1); }

.card-num {
  position: absolute; top: 24px; right: 28px;
  font-family: var(--serif); font-size: 60px; font-weight: 300;
  color: rgba(29, 158, 117, 0.18); line-height: 1;
}
.card-icon {
  width: 54px; height: 54px;
  display: grid; place-items: center;
  background: rgba(29, 158, 117, 0.15);
  border: 1px solid var(--border-acc);
  margin-bottom: 22px;
  transition: all var(--t-mid) var(--ease);
}
.card-icon svg { width: 24px; height: 24px; fill: none; stroke: var(--violet); stroke-width: 1.5; }
.card:hover .card-icon { background: rgba(29, 158, 117, 0.25); border-color: var(--violet); transform: scale(1.05); }
.card-title { font-family: var(--serif); font-size: 24px; font-weight: 600; color: var(--ivory); margin-bottom: 12px; }
.card-body { font-size: 13.5px; line-height: 1.75; color: var(--text-mute); }
.card-link {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 22px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--violet);
  transition: gap var(--t-mid) var(--ease), color var(--t-fast) var(--ease);
}
.card-link:hover { gap: 14px; color: var(--ivory); }

/* Glassmorphism variant */
/* ═══════════════════════════════════════════════════════════════
   PILLARS GRID
═══════════════════════════════════════════════════════════════ */
.pillars { background: var(--plum-deep); }
.pillars-intro {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 70px; align-items: start;
  margin-bottom: 70px;
}
.pillars-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px;
  background: var(--border);
}

/* ═══════════════════════════════════════════════════════════════
   TAX CAPITAL SECTION (with aurora)
═══════════════════════════════════════════════════════════════ */
.tax-capital {
  position: relative; overflow: hidden;
  background: var(--plum);
}
.aurora {
  position: absolute; inset: -20%;
  pointer-events: none; z-index: 0;
  background:
    radial-gradient(ellipse 600px 400px at 20% 30%, rgba(29, 158, 117, 0.3), transparent 70%),
    radial-gradient(ellipse 700px 500px at 80% 60%, rgba(97, 34, 131, 0.25), transparent 70%),
    radial-gradient(ellipse 500px 350px at 50% 90%, rgba(230, 81, 0, 0.22), transparent 70%);
  filter: blur(20px);
  animation: auroraDrift 20s ease-in-out infinite alternate;
}
@keyframes auroraDrift {
  0%   { transform: translate(0,0) scale(1); }
  100% { transform: translate(-3%, -2%) scale(1.05); }
}
.tax-capital-inner { position: relative; z-index: 1; }
.tax-intro {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 70px; align-items: start; margin-bottom: 60px;
}
.new-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 16px;
  background: rgba(29, 158, 117, 0.18);
  border: 1px solid var(--violet);
  font-size: 10px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ivory); margin-bottom: 18px;
}
.tax-statement {
  font-family: var(--serif); font-size: 26px; font-weight: 400;
  font-style: italic; color: var(--ivory);
  line-height: 1.45; margin-bottom: 22px;
}
.tax-statement strong { font-style: normal; color: var(--violet); font-weight: 600; }
.tax-services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--border);
  border: 1px solid var(--border);
}
.tax-service {
  background: var(--bg-card);
  padding: 30px 26px;
  transition: background var(--t-mid) var(--ease);
}
.tax-service:hover { background: var(--bg-elev); }
.tax-tag {
  display: inline-block; padding: 4px 10px;
  border: 1px solid var(--border-acc);
  font-size: 9px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--violet); margin-bottom: 14px;
}
.tax-service h4 { font-size: 19px; margin-bottom: 10px; line-height: 1.25; }
.tax-service p { font-size: 12.5px; line-height: 1.7; color: var(--text-mute); }
.tax-service-result {
  margin-top: 14px; padding-top: 14px;
  border-top: 1px solid var(--border);
  font-size: 11px; font-weight: 600; color: var(--violet); letter-spacing: 0.05em;
}
.tax-service-result::before { content: '→ '; }

/* ═══════════════════════════════════════════════════════════════
   EQUATION CARD
═══════════════════════════════════════════════════════════════ */
.equation-card {
  background: var(--bg-card);
  border: 1px solid var(--border-hi);
  padding: 44px 40px;
}
.eq-label {
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--text-dim); margin-bottom: 14px;
}
.eq-row { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.eq-item {
  flex: 1; padding: 16px; text-align: center;
  background: rgba(29, 158, 117, 0.1);
  border: 1px solid var(--border-acc);
}
.eq-name { font-size: 10px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--violet); }
.eq-desc { font-size: 11.5px; color: var(--text-mute); margin-top: 4px; }
.eq-plus { font-family: var(--serif); font-size: 28px; color: var(--text-dim); }
.eq-result {
  border-top: 1px solid var(--border-hi); padding-top: 22px; margin-top: 8px;
}
.eq-result-text {
  font-family: var(--serif); font-size: 22px; font-weight: 600;
  color: var(--ivory); line-height: 1.3;
}

/* ═══════════════════════════════════════════════════════════════
   PROCESS
═══════════════════════════════════════════════════════════════ */
.process { background: var(--plum); }
.process-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0; position: relative;
}
.process-line {
  position: absolute; top: 36px; left: 5%; right: 5%; height: 1px;
  background: var(--border); z-index: 0;
}
.process-line::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--magenta), var(--violet));
  transform: scaleX(0); transform-origin: left;
  transition: transform 1.4s var(--ease);
}
.process-line.draw::before { transform: scaleX(1); }
.process-step { padding: 0 20px 30px; position: relative; z-index: 1; }
.process-bubble {
  width: 72px; height: 72px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--plum-deep);
  border: 1px solid var(--violet);
  margin-bottom: 22px;
  font-family: var(--serif); font-size: 26px; font-weight: 600;
  color: var(--violet);
  transition: all var(--t-mid) var(--ease);
}
.process-step:hover .process-bubble {
  background: var(--violet);
  color: var(--ivory);
  box-shadow: 0 0 30px rgba(29, 158, 117, 0.5);
  transform: scale(1.05);
}
.process-step h4 { font-size: 21px; margin-bottom: 10px; }
.process-step p { font-size: 13px; color: var(--text-mute); line-height: 1.7; }

/* ═══════════════════════════════════════════════════════════════
   TESTIMONIALS
═══════════════════════════════════════════════════════════════ */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testi-card {
  padding: 38px 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: all var(--t-mid) var(--ease);
  position: relative;
}
.testi-card:hover {
  transform: translateY(-4px);
  border-color: var(--violet);
  box-shadow: 0 18px 40px rgba(0,0,0,0.4);
}
.testi-mark {
  font-family: var(--serif); font-size: 90px; line-height: 0.6;
  color: rgba(29, 158, 117, 0.2);
  display: block; margin-bottom: 8px;
}
.testi-text {
  font-family: var(--serif); font-size: 17px; font-style: italic;
  color: var(--ivory); line-height: 1.6; margin-bottom: 24px;
}
.testi-bar { width: 36px; height: 1px; background: var(--violet); margin-bottom: 14px; }
.testi-name { font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--violet); }
.testi-role { font-size: 11px; color: var(--text-dim); margin-top: 3px; }

/* ═══════════════════════════════════════════════════════════════
   SECTORS
═══════════════════════════════════════════════════════════════ */
.sectors-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.sector-card {
  padding: 32px 26px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: all var(--t-mid) var(--ease);
  cursor: pointer;
}
.sector-card:hover {
  border-color: var(--violet);
  background: var(--bg-elev);
  transform: translateY(-3px);
}
.sector-icon {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  margin-bottom: 16px;
  color: var(--violet);
}
.sector-icon svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.sector-card h4 { font-size: 18px; margin-bottom: 8px; line-height: 1.25; }
.sector-card p { font-size: 12.5px; color: var(--text-mute); line-height: 1.65; }

/* ═══════════════════════════════════════════════════════════════
   MAPPING TABLE
═══════════════════════════════════════════════════════════════ */
.mapping-table { border: 1px solid var(--border); }
.mapping-header {
  display: grid; grid-template-columns: 220px 1fr 1fr;
  background: var(--bg-elev);
  border-bottom: 2px solid var(--violet);
}
.mapping-header > div {
  padding: 16px 24px;
  font-size: 10px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--violet);
}
.mapping-row {
  display: grid; grid-template-columns: 220px 1fr 1fr;
  border-bottom: 1px solid var(--border);
  transition: background var(--t-fast) var(--ease);
}
.mapping-row:last-child { border-bottom: 0; }
.mapping-row:hover { background: rgba(29, 158, 117, 0.06); }
.map-col { padding: 22px 24px; }
.map-col + .map-col { border-left: 1px solid var(--border); }
.map-col-svc {
  background: rgba(16, 29, 47, 0.5);
  display: flex; flex-direction: column; gap: 8px;
}
.map-tag-sm {
  display: inline-block; padding: 3px 9px;
  border: 1px solid var(--border-acc);
  font-size: 9px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--violet); width: fit-content;
}
.map-svc-name { font-family: var(--serif); font-size: 17px; font-weight: 600; color: var(--ivory); line-height: 1.2; }
.map-text { font-size: 13px; line-height: 1.65; color: var(--text-mute); }
.map-text.value::before { content: '→ '; color: var(--violet); font-weight: 700; }

/* ═══════════════════════════════════════════════════════════════
   FAQ ACCORDION
═══════════════════════════════════════════════════════════════ */
.faq { max-width: 920px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-q {
  width: 100%; text-align: left;
  padding: 24px 0;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  font-family: var(--serif); font-size: 20px; font-weight: 600;
  color: var(--ivory);
  transition: color var(--t-fast) var(--ease);
}
.faq-q:hover { color: var(--violet); }
.faq-toggle {
  flex-shrink: 0;
  width: 28px; height: 28px; position: relative;
  border: 1px solid var(--border-hi);
  display: grid; place-items: center;
  transition: all var(--t-mid) var(--ease);
}
.faq-toggle::before, .faq-toggle::after {
  content: ''; position: absolute; background: var(--ivory);
  transition: transform var(--t-mid) var(--ease);
}
.faq-toggle::before { width: 12px; height: 1px; }
.faq-toggle::after { width: 1px; height: 12px; }
.faq-item.open .faq-toggle { background: var(--violet); border-color: var(--violet); }
.faq-item.open .faq-toggle::after { transform: scaleY(0); }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height var(--t-slow) var(--ease);
}
.faq-a-inner {
  padding: 0 0 24px;
  font-size: 14px; line-height: 1.8; color: var(--text-mute);
  max-width: 720px;
}

/* ═══════════════════════════════════════════════════════════════
   CTA BANNER
═══════════════════════════════════════════════════════════════ */
.cta-banner {
  background: linear-gradient(135deg, var(--plum-deep) 0%, var(--plum) 50%, var(--purple) 100%);
  text-align: center;
  padding: 100px var(--gutter);
  position: relative; overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.cta-banner::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(29, 158, 117, 0.18), transparent 60%);
}
.cta-banner > * { position: relative; z-index: 1; }
.cta-banner h2 {
  font-size: clamp(36px, 5vw, 64px);
  color: var(--ivory); margin-bottom: 18px;
}
.cta-banner h2 em { color: var(--violet); }
.cta-banner p {
  font-size: 15px; color: var(--text-mute);
  max-width: 560px; margin: 0 auto 40px; line-height: 1.8;
}
.cta-buttons { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

/* ═══════════════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════════════ */
.site-footer {
  background: var(--plum-deep);
  padding: 80px var(--gutter) 36px;
  border-top: 1px solid var(--border);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 50px; margin-bottom: 60px;
}
.footer-brand p {
  font-size: 13px; line-height: 1.75;
  color: var(--text-mute); margin-top: 18px;
  max-width: 320px;
}
.footer-h {
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--violet); margin-bottom: 18px;
}
.footer-list { display: flex; flex-direction: column; gap: 10px; }
.footer-list a {
  font-size: 13px; color: var(--text-mute);
  transition: color var(--t-fast) var(--ease);
}
.footer-list a:hover { color: var(--ivory); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: flex-start;
  flex-wrap: wrap; gap: 24px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.footer-legal { font-size: 11px; color: var(--text-dim); line-height: 1.7; }
.footer-offices { display: flex; gap: 32px; flex-wrap: wrap; }
.footer-office { font-size: 11px; color: var(--text-dim); line-height: 1.6; }
.footer-office strong { color: var(--text-mute); display: block; margin-bottom: 2px; font-size: 11px; }

/* ═══════════════════════════════════════════════════════════════
   FORMS
═══════════════════════════════════════════════════════════════ */
.form-grid { display: grid; gap: 22px; max-width: 640px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { position: relative; }
.form-label {
  display: block; font-size: 11px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-mute); margin-bottom: 8px;
}
.form-input, .form-select, .form-textarea {
  width: 100%; padding: 14px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--ivory);
  font-family: var(--sans); font-size: 14px;
  transition: all var(--t-fast) var(--ease);
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--violet);
  box-shadow: 0 0 0 3px rgba(29, 158, 117, 0.18);
}
.form-input.invalid, .form-textarea.invalid { border-color: #c84a6e; }
.form-textarea { min-height: 140px; resize: vertical; }
.form-error { font-size: 11px; color: #ff8aa3; margin-top: 6px; display: none; }
.form-field.invalid .form-error { display: block; }
.form-success {
  padding: 20px;
  background: rgba(29, 158, 117, 0.15);
  border: 1px solid var(--violet);
  color: var(--ivory);
  font-size: 14px;
  display: none;
}
.form-success.show { display: block; }

/* ═══════════════════════════════════════════════════════════════
   INSIGHTS
═══════════════════════════════════════════════════════════════ */
.insights-controls {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 24px; margin-bottom: 40px;
}
.search-box {
  position: relative; flex: 0 0 320px; max-width: 100%;
}
.search-box input {
  width: 100%; padding: 12px 44px 12px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--ivory);
  font-family: var(--sans); font-size: 13px;
  transition: all var(--t-fast) var(--ease);
}
.search-box input:focus {
  outline: none; border-color: var(--violet);
  box-shadow: 0 0 0 3px rgba(29, 158, 117, 0.15);
}
.search-box svg {
  position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
  width: 16px; height: 16px;
  fill: none; stroke: var(--text-dim); stroke-width: 2;
}
.filter-pills { display: flex; gap: 8px; flex-wrap: wrap; }
.filter-pill {
  padding: 8px 16px;
  background: transparent;
  border: 1px solid var(--border-hi);
  color: var(--text-mute);
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  transition: all var(--t-fast) var(--ease);
}
.filter-pill:hover { color: var(--ivory); border-color: var(--violet); }
.filter-pill.active {
  background: var(--violet); color: var(--ivory); border-color: var(--violet);
}

.insights-featured {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 36px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  margin-bottom: 50px;
  transition: all var(--t-mid) var(--ease);
}
.insights-featured:hover { border-color: var(--violet); }
.insights-featured-img {
  background: linear-gradient(135deg, var(--plum-deep), var(--purple));
  min-height: 360px;
  position: relative; overflow: hidden;
}
.insights-featured-img::after {
  content: 'FEATURED'; position: absolute; top: 24px; left: 24px;
  padding: 6px 14px; background: var(--magenta);
  font-size: 10px; font-weight: 700; letter-spacing: 0.2em; color: var(--ivory);
}
.insights-featured-body { padding: 50px 44px; display: flex; flex-direction: column; justify-content: center; }
.insights-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  transition: opacity var(--t-mid) var(--ease);
}
.insights-grid.filtering { opacity: 0.3; }
.article-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: all var(--t-mid) var(--ease);
  display: flex; flex-direction: column;
}
.article-card:hover {
  border-color: var(--violet);
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(0,0,0,0.35);
}
.article-img {
  height: 200px;
  background: linear-gradient(135deg, var(--plum-mid), var(--purple));
  position: relative; overflow: hidden;
  transition: transform var(--t-slow) var(--ease);
}
.article-card:hover .article-img { transform: scale(1.04); }
.article-body { padding: 28px 26px; flex: 1; display: flex; flex-direction: column; }
.article-tag {
  font-size: 10px; font-weight: 700; letter-spacing: 0.18em;
  color: var(--violet); margin-bottom: 12px; text-transform: uppercase;
}
.article-card h3 {
  font-size: 21px; line-height: 1.3; margin-bottom: 12px;
}
.article-card p {
  font-size: 13px; color: var(--text-mute); line-height: 1.7;
  margin-bottom: 16px; flex: 1;
}
.article-meta {
  font-size: 11px; color: var(--text-dim);
  letter-spacing: 0.06em;
}

/* ═══════════════════════════════════════════════════════════════
   TRANSACTIONS
═══════════════════════════════════════════════════════════════ */
.transactions-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.transaction-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: all var(--t-mid) var(--ease);
  display: flex; flex-direction: column;
}
.transaction-card:hover {
  transform: translateY(-4px);
  border-color: var(--violet);
  box-shadow: 0 18px 44px rgba(0,0,0,0.4), 0 0 28px rgba(29, 158, 117, 0.15);
}
.transaction-img {
  height: 180px; position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--plum-deep), var(--purple));
}
.transaction-img-inner {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transition: transform var(--t-slow) var(--ease);
}
.transaction-card:hover .transaction-img-inner { transform: scale(1.06); }
.transaction-img::before {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, transparent 40%, rgba(16, 29, 47, 0.85) 100%);
}
.transaction-body { padding: 28px; flex: 1; display: flex; flex-direction: column; }
.transaction-meta {
  display: flex; gap: 12px; margin-bottom: 16px; flex-wrap: wrap;
}
.transaction-meta span {
  font-size: 10px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 4px 10px; border: 1px solid var(--border-acc); color: var(--violet);
}
.transaction-card h3 {
  font-size: 22px; line-height: 1.3; margin-bottom: 10px;
}
.transaction-card p {
  font-size: 13px; color: var(--text-mute); line-height: 1.7;
  margin-bottom: 16px; flex: 1;
}
.transaction-stat {
  border-top: 1px solid var(--border); padding-top: 16px;
  display: flex; justify-content: space-between; align-items: baseline;
}
.transaction-stat-num {
  font-family: var(--serif); font-size: 22px; font-weight: 600;
  color: var(--violet);
}
.transaction-stat-lbl {
  font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--text-dim);
}

/* ═══════════════════════════════════════════════════════════════
   TEAM
═══════════════════════════════════════════════════════════════ */
.team-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.team-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 36px 28px;
  text-align: center;
  transition: all var(--t-mid) var(--ease);
}
.team-card:hover {
  transform: translateY(-4px);
  border-color: var(--violet);
  box-shadow: 0 18px 40px rgba(0,0,0,0.35);
}
.team-photo {
  width: 120px; height: 120px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--violet), var(--purple));
  margin: 0 auto 20px;
  display: grid; place-items: center;
  font-family: var(--serif); font-size: 42px; color: var(--ivory);
  border: 2px solid var(--border-hi);
  transition: all var(--t-mid) var(--ease);
}
/* Real photo variant — drop in <img class="team-photo-img" src="..."> instead of the placeholder div */
.team-photo-img {
  width: 120px; height: 120px;
  border-radius: 50%;
  margin: 0 auto 20px;
  display: block;
  object-fit: cover;
  border: 2px solid var(--border-hi);
  transition: all var(--t-mid) var(--ease);
}
.team-card:hover .team-photo,
.team-card:hover .team-photo-img {
  border-color: var(--violet);
  box-shadow: 0 0 30px rgba(29, 158, 117, 0.4);
}
.team-card h4 { margin-bottom: 6px; }
.team-role {
  font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--violet); margin-bottom: 14px;
}
.team-bio { font-size: 13px; color: var(--text-mute); line-height: 1.7; }

/* ═══════════════════════════════════════════════════════════════
   OFFICES
═══════════════════════════════════════════════════════════════ */
.offices-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
}
.office-card {
  padding: 30px 26px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: all var(--t-mid) var(--ease);
}
.office-card:hover {
  border-color: var(--violet); transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(0,0,0,0.35);
}
.office-name {
  font-family: var(--serif); font-size: 22px; font-weight: 600;
  color: var(--ivory); margin-bottom: 12px;
}
.office-addr {
  font-size: 13px; color: var(--text-mute); line-height: 1.7;
}
.office-phone {
  margin-top: 12px; font-size: 12px; color: var(--violet); letter-spacing: 0.05em;
}

/* ═══════════════════════════════════════════════════════════════
   ANIMATIONS
═══════════════════════════════════════════════════════════════ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.in-view { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
/* ═══════════════════════════════════════════════════════════════
   NAVY + EMERALD — ACCENT HARMONIZATION + GRADIENT CARD TREATMENT
   Applied site-wide. All "flat lighter-navy" surfaces get a diagonal
   gradient + a subtle emerald glow in the top-right corner.
═══════════════════════════════════════════════════════════════ */

/* ── ACCENT HARMONIZATION ────────────────────────────────────── */

/* Featured/NEW badge → amber */
.new-badge {
  background: rgba(244, 185, 66, 0.14);
  border-color: var(--amber);
  color: var(--amber);
}

/* Primary CTA: solid burnt orange */
.btn-primary {
  background: var(--magenta);
  box-shadow: 0 4px 24px rgba(230, 81, 0, 0.30);
}
.btn-primary::before { background: var(--magenta-hi); }
.btn-primary:hover {
  box-shadow: 0 12px 32px rgba(230, 81, 0, 0.45),
              0 0 24px rgba(255, 107, 26, 0.35);
}

/* Eyebrow line: emerald → amber */
.eyebrow::before {
  background: linear-gradient(90deg, var(--violet), var(--amber));
}

/* Card top-border accent: emerald → orange */
.card::before {
  background: linear-gradient(180deg, var(--violet), var(--magenta));
}

/* Stats top-border on scroll-in: emerald → amber */
.stat-cell::before {
  background: linear-gradient(90deg, var(--violet), var(--amber));
}

/* Custom scrollbar — emerald gradient */
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--violet), var(--purple));
}
::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #25BC8C, var(--violet));
}

/* Aurora background — emerald + amber */
.aurora {
  background:
    radial-gradient(ellipse 600px 400px at 20% 30%, rgba(29, 158, 117, 0.22), transparent 70%),
    radial-gradient(ellipse 700px 500px at 80% 60%, rgba(15, 110, 86, 0.20), transparent 70%),
    radial-gradient(ellipse 500px 350px at 50% 90%, rgba(244, 185, 66, 0.12), transparent 70%);
}

/* CTA banner — navy gradient */
.cta-banner {
  background: linear-gradient(135deg,
    var(--plum-deep) 0%,
    var(--plum) 50%,
    var(--plum-mid) 100%);
}
.cta-banner::before {
  background: radial-gradient(ellipse at center, rgba(29, 158, 117, 0.14), transparent 60%);
}

/* Hero radial accents — emerald */
.hero {
  background:
    radial-gradient(ellipse at top right, rgba(29, 158, 117, 0.18), transparent 60%),
    radial-gradient(ellipse at bottom left, rgba(26, 87, 131, 0.30), transparent 70%),
    var(--plum-deep);
}

/* Page hero (subpages) — same treatment */
.page-hero {
  background:
    radial-gradient(ellipse at top right, rgba(29, 158, 117, 0.18), transparent 60%),
    radial-gradient(ellipse at bottom left, rgba(26, 87, 131, 0.30), transparent 70%),
    var(--plum-deep);
}

/* Logo mark — emerald → orange gradient */
.nav-logo {
  background: linear-gradient(135deg, var(--violet), var(--magenta));
}

/* Equation card accent items */
.eq-item {
  background: rgba(29, 158, 117, 0.08);
}

/* Tax service tag — emerald */
.tax-tag {
  color: var(--violet);
  border-color: rgba(29, 158, 117, 0.30);
}

/* Tax service result line — amber */
.tax-service-result { color: var(--amber); }

/* Section title em — emerald */
.section-title em,
.hero h1 em,
.cta-banner h2 em { color: var(--violet); }

/* Card icon */
.card-icon {
  background: rgba(29, 158, 117, 0.12);
  border-color: rgba(29, 158, 117, 0.35);
}
.card-icon svg { stroke: var(--violet); }
.card:hover .card-icon {
  background: rgba(29, 158, 117, 0.22);
  border-color: var(--violet);
}

/* Sector card icon */
.sector-icon { color: var(--violet); }

/* Process bubble */
.process-bubble {
  border-color: var(--violet);
  color: var(--violet);
}
.process-step:hover .process-bubble {
  background: var(--violet);
  color: #FFFFFF;
  box-shadow: 0 0 30px rgba(29, 158, 117, 0.45);
}

/* Process line draw — emerald → orange */
.process-line::before {
  background: linear-gradient(90deg, var(--violet), var(--magenta));
}

/* Testimonial accent */
.testi-bar {
  background: linear-gradient(90deg, var(--violet), var(--amber));
}
.testi-name { color: var(--violet); }

/* Article tag */
.article-tag { color: var(--violet); }

/* Card link */
.card-link { color: var(--violet); }

/* Transaction stat number — amber */
.transaction-stat-num { color: var(--amber); }

/* Transaction meta tags */
.transaction-meta span {
  color: var(--violet);
  border-color: rgba(29, 158, 117, 0.35);
}

/* Footer column headers */
.footer-h { color: var(--violet); }

/* Form focus */
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--violet);
  box-shadow: 0 0 0 3px rgba(29, 158, 117, 0.18);
}
.form-success {
  background: rgba(29, 158, 117, 0.12);
  border-color: var(--violet);
}

/* Filter pills */
.filter-pill:hover { color: #FFFFFF; border-color: var(--violet); }
.filter-pill.active {
  background: var(--violet);
  border-color: var(--violet);
  color: #FFFFFF;
}

/* Search box focus */
.search-box input:focus {
  border-color: var(--violet);
  box-shadow: 0 0 0 3px rgba(29, 158, 117, 0.15);
}

/* ── GRADIENT CARD TREATMENT — applied site-wide ─────────────────
   Every card-like surface (was flat lighter-navy) gets:
     1. A radial emerald glow in the top-right corner (subtle, on-brand)
     2. A diagonal navy gradient: lifted top-left → mid → deeper bottom-right
   Both layers stacked into the `background` property using multiple
   backgrounds. No pseudo-element overlay needed — content sits naturally.
   On hover, both layers brighten.
*/

.card,
.testi-card,
.sector-card,
.transaction-card,
.article-card,
.team-card,
.office-card,
.tax-service,
.equation-card {
  background:
    radial-gradient(ellipse 280px 200px at 100% 0%,
      rgba(29, 158, 117, 0.10),
      transparent 70%),
    linear-gradient(135deg,
      var(--bg-elev) 0%,
      var(--bg-card) 50%,
      #1A3656 100%);
  transition: background var(--t-mid) var(--ease),
              border-color var(--t-mid) var(--ease),
              transform var(--t-mid) var(--ease),
              box-shadow var(--t-mid) var(--ease);
}

.card:hover,
.testi-card:hover,
.sector-card:hover,
.transaction-card:hover,
.article-card:hover,
.team-card:hover,
.office-card:hover,
.tax-service:hover {
  background:
    radial-gradient(ellipse 320px 240px at 100% 0%,
      rgba(29, 158, 117, 0.18),
      transparent 70%),
    linear-gradient(135deg,
      var(--bg-card-hi) 0%,
      var(--bg-card-mid) 50%,
      #1F3F61 100%);
}


/* ── INSIGHTS FEATURED CARD (gradient applied) ── */
.insights-featured {
  background:
    radial-gradient(ellipse 400px 280px at 100% 0%,
      rgba(29, 158, 117, 0.10),
      transparent 70%),
    linear-gradient(135deg,
      var(--bg-elev) 0%,
      var(--bg-card) 50%,
      #1A3656 100%);
  transition: background var(--t-mid) var(--ease),
              border-color var(--t-mid) var(--ease);
}
.insights-featured:hover {
  background:
    radial-gradient(ellipse 460px 320px at 100% 0%,
      rgba(29, 158, 117, 0.16),
      transparent 70%),
    linear-gradient(135deg,
      var(--bg-card-hi) 0%,
      var(--bg-card-mid) 50%,
      #1F3F61 100%);
}

/* ── MAPPING TABLE (Tax Capital) — gradient on each row's service col ── */
.map-col-svc {
  background: linear-gradient(135deg,
    rgba(40, 68, 104, 0.5) 0%,
    rgba(31, 55, 86, 0.5) 100%);
}


/* ═══════════════════════════════════════════════════════════════
   AFFILIATE PRACTICES (contact.html)
═══════════════════════════════════════════════════════════════ */
.affiliate-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  max-width: 1100px;
  margin: 0 auto;
}
.affiliate-card {
  display: block;
  padding: 48px 40px;
  text-align: left;
  text-decoration: none;
  background:
    radial-gradient(ellipse 280px 200px at 100% 0%,
      rgba(29, 158, 117, 0.10),
      transparent 70%),
    linear-gradient(135deg,
      var(--bg-elev) 0%,
      var(--bg-card) 50%,
      #1A3656 100%);
  border: 1px solid var(--border);
  transition: background var(--t-mid) var(--ease),
              border-color var(--t-mid) var(--ease),
              transform var(--t-mid) var(--ease),
              box-shadow var(--t-mid) var(--ease);
}
.affiliate-card:hover {
  border-color: var(--violet);
  transform: translateY(-4px);
  background:
    radial-gradient(ellipse 320px 240px at 100% 0%,
      rgba(29, 158, 117, 0.20),
      transparent 70%),
    linear-gradient(135deg,
      var(--bg-card-hi) 0%,
      var(--bg-card-mid) 50%,
      #1F3F61 100%);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35),
              0 0 30px rgba(29, 158, 117, 0.18);
}
.affiliate-mark {
  width: 100px; height: 100px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--violet), var(--purple));
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--ivory);
  border: 2px solid var(--border-hi);
  margin-bottom: 28px;
  transition: all var(--t-mid) var(--ease);
}
.affiliate-card:hover .affiliate-mark {
  border-color: var(--violet);
  box-shadow: 0 0 30px rgba(29, 158, 117, 0.40);
}
/* Real-logo variant — drop in <img class="affiliate-logo-img" src="..."> */
.affiliate-logo-img {
  display: block;
  max-width: 200px;
  max-height: 80px;
  height: auto;
  width: auto;
  margin-bottom: 28px;
  object-fit: contain;
  filter: brightness(1.05);
  transition: filter var(--t-mid) var(--ease);
}
.affiliate-card:hover .affiliate-logo-img {
  filter: brightness(1.2);
}
.affiliate-card h4 {
  font-size: 24px;
  color: var(--ivory);
  margin-bottom: 6px;
}
.affiliate-role {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--violet);
  margin-bottom: 18px;
}
.affiliate-desc {
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--text-mute);
  margin-bottom: 22px;
}
.affiliate-link {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--magenta);
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: border-color var(--t-fast) var(--ease);
}
.affiliate-card:hover .affiliate-link {
  border-bottom-color: var(--magenta);
}

/* ═══════════════════════════════════════════════════════════════
   IEEPA TARIFF REFUNDS — CAMPAIGN
   IEEPA-CAMPAIGN-START — REMOVE-AFTER-2026-11-07
═══════════════════════════════════════════════════════════════ */

/* Floating CTA Pill — bottom-right corner persistent CTA on
   index.html and tax-capital.html. Pulsing glow draws attention
   without disrupting page flow. Has a dismiss × that hides it for
   the session. */
.floating-pill {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 95;
  display: flex;
  align-items: stretch;
  background:
    linear-gradient(135deg,
      rgba(230, 81, 0, 0.95) 0%,
      rgba(244, 185, 66, 0.95) 100%);
  border: 1px solid var(--amber);
  border-radius: 100px;
  box-shadow: 0 12px 40px rgba(230, 81, 0, 0.40),
              0 0 0 0 rgba(244, 185, 66, 0.50);
  animation: pill-pulse 3s ease-in-out infinite;
  overflow: hidden;
}
@keyframes pill-pulse {
  0%, 100% { box-shadow: 0 12px 40px rgba(230, 81, 0, 0.40), 0 0 0 0 rgba(244, 185, 66, 0.50); }
  50%      { box-shadow: 0 12px 48px rgba(230, 81, 0, 0.55), 0 0 0 12px rgba(244, 185, 66, 0); }
}
.floating-pill-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 8px 14px 22px;
  text-decoration: none;
  color: #FFFFFF;
}
.floating-pill-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #FFFFFF;
  box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
  animation: urgency-pulse 2s ease-in-out infinite;
  flex-shrink: 0;
}
.floating-pill-content {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.floating-pill-content strong {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #FFFFFF;
}
.floating-pill-content small {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  margin-top: 2px;
}
.floating-pill-close {
  width: 32px;
  background: rgba(0, 0, 0, 0.15);
  border: none;
  border-left: 1px solid rgba(255, 255, 255, 0.20);
  cursor: pointer;
  position: relative;
  transition: background var(--t-fast) var(--ease);
}
.floating-pill-close:hover { background: rgba(0, 0, 0, 0.30); }
.floating-pill-close::before,
.floating-pill-close::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 12px; height: 1.5px;
  background: #FFFFFF;
  transform-origin: center;
}
.floating-pill-close::before { transform: translate(-50%, -50%) rotate(45deg); }
.floating-pill-close::after  { transform: translate(-50%, -50%) rotate(-45deg); }
@media (max-width: 768px) {
  .floating-pill { right: 12px; bottom: 12px; max-width: calc(100% - 24px); }
  .floating-pill-link { padding: 12px 8px 12px 16px; }
}

/* Shared pulsing dot keyframe — also used by .urgency-dot inside the
   tariff-refunds.html hero eyebrow */
.urgency-dot {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 0 rgba(244, 185, 66, 0.7);
  animation: urgency-pulse 2s ease-in-out infinite;
}
@keyframes urgency-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(244, 185, 66, 0.7); transform: scale(1); }
  50%  { box-shadow: 0 0 0 10px rgba(244, 185, 66, 0); transform: scale(1.15); }
  100% { box-shadow: 0 0 0 0 rgba(244, 185, 66, 0); transform: scale(1); }
}

/* Reduced motion preference — hold pulse steady */
@media (prefers-reduced-motion: reduce) {
  .urgency-dot,
  .floating-pill-dot { animation: none; box-shadow: 0 0 0 4px rgba(244, 185, 66, 0.20); }
  .floating-pill { animation: none; }
}

/* IEEPA-page-specific hero tweaks */
.ieepa-hero h1 { color: var(--ivory); }
.ieepa-hero .eyebrow {
  color: var(--amber);
  display: inline-flex;
  align-items: center;
}
.ieepa-hero .eyebrow::before {
  background: linear-gradient(90deg, var(--amber), var(--magenta));
}
.hero-cta-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 32px;
}

/* Time-sensitive flag inside the dropdown (Services menu) */
.dropdown-time-sensitive {
  position: relative;
}
.dropdown-time-sensitive::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 3px; height: 70%;
  background: linear-gradient(180deg, var(--amber), var(--magenta));
}
.ts-flag {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 6px;
  background: rgba(244, 185, 66, 0.18);
  border: 1px solid var(--amber);
  color: var(--amber);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  vertical-align: middle;
  font-family: var(--sans);
}
.mobile-time-sensitive {
  display: flex !important;
  align-items: center;
  gap: 8px;
}

/* IEEPA-CAMPAIGN-END — REMOVE-AFTER-2026-11-07 */


/* ═══════════════════════════════════════════════════════════════
   HEADER + FOOTER OVERRIDE
   Nav (sticky bar, dropdowns, mobile drawer): emerald #1D9E75
   Footer: teal (unchanged from prior)
═══════════════════════════════════════════════════════════════ */

/* Sticky nav (transparent state, top of page) */
.site-nav {
  background: rgba(29, 158, 117, 0.40);
}
/* Sticky nav (scrolled / opaque state) */
.site-nav.scrolled {
  background: rgba(29, 158, 117, 0.92);
}
/* Dropdown panels under Services / Sectors */
.nav-dropdown {
  background: rgba(29, 158, 117, 0.97);
}
/* Mobile drawer */
.mobile-menu {
  background: #1D9E75;
}
/* Footer (kept teal) */
.site-footer {
  background: linear-gradient(180deg, #0E3F47 0%, #082B30 100%);
}

/* ═════ Glittering nav text — luminous white with soft glow ═════ */
.nav-link {
  /* Vertical gradient fill: pure white at top, faint cool-mint tint at
     the bottom — mimics light catching a polished surface from above. */
  color: #FFFFFF;
  background: linear-gradient(180deg, #FFFFFF 0%, #FFFFFF 55%, #E8FFF6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 600;
  /* Soft white halo so the text "lifts" off the emerald background */
  text-shadow: 0 0 14px rgba(255, 255, 255, 0.45),
               0 0 2px rgba(255, 255, 255, 0.6);
  letter-spacing: 0.16em;
  transition: text-shadow var(--t-fast) var(--ease),
              transform var(--t-fast) var(--ease);
}
.nav-link:hover {
  /* Brighter glow on hover — the text feels "energized" */
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.85),
               0 0 4px rgba(255, 255, 255, 0.9),
               0 0 1px #FFFFFF;
}
/* Active / hover underline lifts to white-with-glow on the emerald bg */
.nav-link.active::after,
.nav-link:hover::after {
  background: #FFFFFF;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.7);
}
/* Chev icons next to Services / Sectors — glow with the text */
.nav-link .chev {
  color: #FFFFFF;
  filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.55));
}

/* Dropdown items — softer glow, smaller halo, secondary text stays calm */
.nav-dropdown a {
  color: #FFFFFF;
  font-weight: 600;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.30);
  transition: background var(--t-fast) var(--ease),
              text-shadow var(--t-fast) var(--ease);
}
.nav-dropdown a small {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 500;
  text-shadow: none;
}
.nav-dropdown a:hover {
  background: rgba(255, 255, 255, 0.10);
  color: #FFFFFF;
  text-shadow: 0 0 16px rgba(255, 255, 255, 0.65);
}

/* Mobile drawer items — same luminous treatment */
.mobile-menu a {
  color: #FFFFFF;
  font-weight: 600;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.35);
}
.mobile-menu a:hover,
.mobile-menu a.active {
  color: #FFFFFF;
  text-shadow: 0 0 16px rgba(255, 255, 255, 0.65);
}
.mobile-section-label {
  color: rgba(255, 255, 255, 0.78);
  text-shadow: none;
}

/* Brand-mark text picks up the same treatment so the whole nav feels coherent */
.nav-brand-text strong,
.nav-brand-text small {
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.40);
}

/* Reduced-motion: keep static glow for users who've opted out */
@media (prefers-reduced-motion: reduce) {
  .nav-link, .nav-dropdown a, .mobile-menu a {
    transition: none;
  }
}

/* ═════ EDGE logo image (replaces hex-mark + brand text) ═════
   Sizes:
     Nav:    44px tall — fits the 80px nav-h with breathing room.
              Tagline "A RISK FINANCE CONSULTANCY" reads as decorative
              texture at this size.
     Footer: 64px tall — gives the tagline room to be legibly read.
   3D effect:
     Three layers of drop-shadow give the parallelograms depth
     without going chrome-y. Subtle saturate() bumps the red on dark.
*/
.brand-logo-img {
  display: block;
  height: 44px;
  width: auto;
  filter:
    drop-shadow(0 1px 0 rgba(0, 0, 0, 0.25))
    drop-shadow(0 3px 6px rgba(0, 0, 0, 0.30))
    saturate(1.05);
  transition: filter var(--t-fast) var(--ease),
              transform var(--t-fast) var(--ease);
}
.nav-brand:hover .brand-logo-img {
  filter:
    drop-shadow(0 1px 0 rgba(0, 0, 0, 0.30))
    drop-shadow(0 5px 10px rgba(0, 0, 0, 0.40))
    saturate(1.10);
  transform: translateY(-1px);
}
.brand-logo-img-footer {
  display: block;
  height: 64px;
  width: auto;
  filter:
    drop-shadow(0 1px 0 rgba(0, 0, 0, 0.25))
    drop-shadow(0 4px 8px rgba(0, 0, 0, 0.35))
    saturate(1.05);
  transition: filter var(--t-fast) var(--ease);
}
.footer-brand .nav-brand:hover .brand-logo-img-footer {
  filter:
    drop-shadow(0 1px 0 rgba(0, 0, 0, 0.30))
    drop-shadow(0 6px 12px rgba(0, 0, 0, 0.45))
    saturate(1.10);
}

/* When the new logo is in use, the nav-brand link no longer needs the
   internal grid layout the old hex+text version had */
.nav-brand {
  align-items: center;
}

/* Reduced-motion respects */
@media (prefers-reduced-motion: reduce) {
  .brand-logo-img, .brand-logo-img-footer { transition: none; }
  .nav-brand:hover .brand-logo-img { transform: none; }
}



/* Contact page form/calendly two-column layout */
.contact-grid {
  grid-template-columns: 1.1fr 1fr !important;
  gap: 60px !important;
}
@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
  }
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .pillars-intro, .tax-intro { grid-template-columns: 1fr; gap: 40px; }
  .pillars-grid, .tax-services-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-strip { grid-template-columns: repeat(2, 1fr); }
  .testi-grid, .insights-grid, .transactions-grid, .team-grid { grid-template-columns: repeat(2, 1fr); }
  .sectors-grid { grid-template-columns: repeat(2, 1fr); }
  .offices-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
  .process-line { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .insights-featured { grid-template-columns: 1fr; }
  .insights-featured-img { min-height: 240px; }
  .insights-featured-body { padding: 32px 28px; }
}
@media (max-width: 768px) {
  :root { --gutter: 6vw; --nav-h: 70px; }
  .nav-menu { display: none; }
  .nav-toggle { display: flex; }
  .nav-cta { display: none; }
  section { padding: 70px var(--gutter); }
  .hero { min-height: 92vh; padding: calc(var(--nav-h) + 40px) var(--gutter) 60px; }
  .hero-watermark { font-size: 200px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { justify-content: center; }
  .pillars-grid, .tax-services-grid, .testi-grid, .insights-grid, .transactions-grid, .team-grid,
  .sectors-grid, .offices-grid, .stats-strip, .process-grid, .affiliate-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .form-row { grid-template-columns: 1fr; }
  .mapping-header, .mapping-row { grid-template-columns: 1fr; }
  .mapping-header > div:not(:first-child) { display: none; }
  .map-col + .map-col { border-left: 0; border-top: 1px solid var(--border); }
  .eq-row { flex-direction: column; }
  .eq-plus { font-size: 22px; }
  .insights-controls { flex-direction: column; align-items: stretch; }
  .search-box { flex: 1; }
}
@media (max-width: 480px) {
  h1 { font-size: 38px; }
  h2 { font-size: 30px; }
  .hero-watermark { display: none; }
  .stat-num { font-size: 42px; }
}
