/* ============================================================
   Afrinovix · VVIP Software House · v2
   Light navbar + dark luxe body + cinematic animations.
   ============================================================ */

:root {
  --bg:          #050818;
  --bg-2:        #0a0e26;
  --surface:     #101740;
  --surface-2:   #151c4a;
  --border:      rgba(255, 255, 255, 0.08);
  --border-2:    rgba(255, 255, 255, 0.16);
  --text:        #f2f4ff;
  --muted:       #97a0c8;

  --ink:         #0e1233;
  --ink-soft:    #4a5079;
  --line:        rgba(14, 18, 51, 0.10);

  --gold:        #d4af37;
  --gold-2:      #f3d56b;
  --blue:        #4ea6ff;
  --purple:      #8b5cf6;
  --green:       #14532d;
  --green-2:     #166534;
  --green-3:     #0a3d20;

  --grad:        linear-gradient(135deg, #4ea6ff 0%, #8b5cf6 55%, #d4af37 100%);
  --grad-soft:   linear-gradient(135deg, rgba(78,166,255,.16), rgba(139,92,246,.16));
  --shadow-lg:   0 30px 80px -30px rgba(78, 166, 255, .45);
  --shadow-nav:  0 8px 30px -12px rgba(14, 18, 51, .15);

  --radius:      16px;
  --radius-lg:   22px;
  --radius-xl:   28px;
  --container:   1240px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; transition: color .2s; }
a:hover { color: var(--gold-2); }
img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Background art (dark body) ---------- */
.bg-grid {
  position: fixed; inset: 0; z-index: -2;
  background:
    radial-gradient(ellipse at 10% 0%,  rgba(20,83,45,.20), transparent 55%),
    radial-gradient(ellipse at 90% 60%, rgba(212,175,55,.14), transparent 55%),
    radial-gradient(ellipse at 50% 100%, rgba(20,83,45,.12), transparent 55%),
    var(--bg);
}
.bg-grid::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%);
}
.bg-orb {
  position: fixed; z-index: -1; border-radius: 50%;
  filter: blur(140px); opacity: .4; pointer-events: none;
  will-change: transform;
}
.bg-orb-1 { top: -200px; left: -150px; width: 520px; height: 520px; background: #14532d; opacity: .35; }
.bg-orb-2 { bottom: -240px; right: -180px; width: 560px; height: 560px; background: #d4af37; opacity: .25; }

/* ============================================================
   HEADER  ·  WHITE / GLASS / STYLISH
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid rgba(14, 18, 51, .06);
  transition: box-shadow .3s ease, background .3s ease, padding .3s ease;
}
.site-header::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px;
  height: 2px; opacity: 0; transition: opacity .35s ease;
  background: linear-gradient(90deg, transparent, var(--gold) 30%, var(--green) 70%, transparent);
}
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 14px 40px -18px rgba(14, 18, 51, .18);
}
.site-header.scrolled::after { opacity: 1; }

.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 86px; gap: 24px;
}
.brand {
  display: flex; align-items: center; gap: 14px;
  font-weight: 700; color: var(--ink);
  position: relative;
}
.brand:hover { color: var(--ink); }
.brand-logo {
  width: 48px; height: 48px; object-fit: contain;
  filter: drop-shadow(0 8px 18px rgba(212, 175, 55, .45));
  transition: transform .5s cubic-bezier(.2,.8,.2,1);
}
.brand:hover .brand-logo { transform: rotate(-8deg) scale(1.08); }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name {
  font-family: 'Playfair Display', serif;
  font-size: 26px; letter-spacing: .3px;
  background: linear-gradient(135deg, var(--green-3) 0%, var(--green) 50%, var(--gold) 120%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
}
.brand-tag {
  font-size: 10px; letter-spacing: 3.5px; text-transform: uppercase;
  color: var(--green); margin-top: 6px; font-weight: 600;
}

.nav-links {
  display: flex; gap: 4px; flex: 1; justify-content: center;
}
.nav-links a {
  font-size: 14px; font-weight: 600; color: var(--ink);
  position: relative; padding: 11px 18px; border-radius: 12px;
  transition: color .25s, background .25s, transform .25s;
  letter-spacing: .2px;
}
.nav-links a:hover {
  color: var(--green);
  background: linear-gradient(135deg, rgba(212,175,55,.10), rgba(20,83,45,.05));
  transform: translateY(-1px);
}
.nav-links a.active { color: var(--green); }
.nav-links a.active::after {
  content: ""; position: absolute; left: 18px; right: 18px; bottom: 2px;
  height: 3px; border-radius: 3px;
  background: linear-gradient(90deg, var(--gold), var(--green));
  box-shadow: 0 4px 10px -2px rgba(212,175,55,.5);
}

/* Home icon special styling */
.nav-links a[title="Home"] {
  width: 40px; height: 40px; padding: 0;
  display: inline-grid; place-items: center;
  background: linear-gradient(135deg, var(--green), var(--green-2));
  color: var(--gold-2);
  border-radius: 12px;
  box-shadow: 0 8px 20px -8px rgba(20,83,45,.6);
}
.nav-links a[title="Home"]:hover {
  color: #fff; transform: translateY(-2px) rotate(-4deg);
  background: linear-gradient(135deg, var(--green-3), var(--green));
}
.nav-links a[title="Home"].active::after { display: none; }

.nav-cta { white-space: nowrap; }

.nav-burger {
  display: none; flex-direction: column; gap: 5px;
  background: transparent; border: 1px solid var(--line);
  padding: 10px; border-radius: 10px; cursor: pointer;
}
.nav-burger span {
  width: 22px; height: 2px; background: var(--ink); border-radius: 2px;
  transition: .3s;
}

/* Footer brand readability fix (footer is dark) */
.site-footer .brand,
.site-footer .brand:hover { color: var(--text); }
.site-footer .brand-name {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.site-footer .brand-tag { color: var(--muted); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 26px; border-radius: 999px;
  font-weight: 600; font-size: 14px;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .25s cubic-bezier(.2,.8,.2,1),
              box-shadow .25s, background .25s, color .25s;
  position: relative; overflow: hidden;
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  color: var(--green);
  box-shadow: 0 14px 32px -10px rgba(212,175,55,.55);
  font-weight: 700; letter-spacing: .3px;
}
.btn-gold::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.55) 50%, transparent 70%);
  transform: translateX(-100%); transition: transform .8s;
}
.btn-gold:hover { transform: translateY(-3px); color: var(--green-3); box-shadow: 0 20px 40px -10px rgba(212,175,55,.75); }
.btn-gold:hover::before { transform: translateX(100%); }
.btn-gold i { color: var(--green-2); }

.btn-ghost {
  background: rgba(255,255,255,.04); color: var(--text);
  border-color: var(--border-2);
}
.btn-ghost:hover { background: rgba(255,255,255,.10); color: var(--text); }
.btn-ghost-light {
  background: transparent; color: var(--ink);
  border-color: var(--line);
}
.btn-ghost-light:hover { background: rgba(14,18,51,.04); color: var(--ink); }
.btn-block { width: 100%; justify-content: center; }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
.display {
  font-family: 'Playfair Display', serif;
  font-size: clamp(40px, 5.8vw, 76px);
  line-height: 1.04; letter-spacing: -1.5px; margin: 16px 0 20px;
  font-weight: 600;
}
.h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(30px, 3.6vw, 46px);
  line-height: 1.15; margin: 8px 0 14px;
  font-weight: 600;
}
h3 { font-size: 20px; margin: 12px 0 10px; }
h4 { font-size: 16px; margin: 10px 0 6px; }
.lead { font-size: 18px; color: var(--muted); margin: 0 0 24px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.gold  { color: var(--gold-2); }

.eyebrow {
  display: inline-block; font-size: 12px; letter-spacing: 3px;
  text-transform: uppercase; color: var(--gold-2);
  padding: 6px 14px; border: 1px solid rgba(212,175,55,.35);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(212,175,55,.10), rgba(20,83,45,.08));
  font-weight: 600;
}
.grad {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 200% 200%;
  animation: gradShift 6s ease infinite;
}
.grad-bg { background: var(--grad); color: #0a0e27; }
@keyframes gradShift {
  0%,100% { background-position: 0% 50%; }
  50%     { background-position: 100% 50%; }
}

/* ============================================================
   LAYOUT HELPERS
   ============================================================ */
.section { padding: 110px 0; position: relative; }
.section-alt {
  background:
    linear-gradient(180deg, transparent, rgba(255,255,255,.025), transparent);
}
.section-head { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.center { text-align: center; }
.mt-3 { margin-top: 28px; }
.align-center { align-items: center; }

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-2-wide { grid-template-columns: 1fr 1.4fr; gap: 32px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); }

/* ============================================================
   CARDS
   ============================================================ */
.card {
  background: linear-gradient(180deg, var(--surface), var(--surface-2));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px; position: relative;
  transition: transform .35s cubic-bezier(.2,.8,.2,1),
              border-color .3s, box-shadow .35s;
}
.card::before {
  content: ""; position: absolute; inset: 0; padding: 1px;
  border-radius: inherit; background: var(--grad);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .35s;
  pointer-events: none;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card:hover::before { opacity: 1; }

.card-icon {
  font-size: 28px; color: var(--gold-2);
  width: 58px; height: 58px; border-radius: 14px;
  display: grid; place-items: center;
  background: var(--grad-soft); border: 1px solid var(--border-2);
  margin-bottom: 14px;
  transition: transform .4s;
}
.card:hover .card-icon { transform: rotate(-6deg) scale(1.06); }

.tags {
  display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px;
}
.tags span {
  font-size: 11px; letter-spacing: 1px; text-transform: uppercase;
  color: var(--muted); padding: 5px 10px; border-radius: 999px;
  border: 1px solid var(--border-2); background: rgba(255,255,255,.02);
}

/* ============================================================
   HERO
   ============================================================ */
.hero { padding: 100px 0 60px; }
.hero-inner {
  display: grid; grid-template-columns: 1.15fr 1fr; gap: 60px;
  align-items: center;
}
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 26px; }

.hero-badges {
  display: flex; gap: 18px; flex-wrap: wrap; margin-top: 22px;
  font-size: 13px; color: var(--muted);
}
.hero-badges span::before {
  content: "✓"; color: var(--gold-2); margin-right: 6px; font-weight: 700;
}

.trust-row {
  display: flex; gap: 36px; margin-top: 40px;
  padding-top: 28px; border-top: 1px solid var(--border);
  flex-wrap: wrap;
}
.trust-row div { display: flex; flex-direction: column; }
.trust-row strong {
  font-family: 'Playfair Display', serif;
  font-size: 28px; color: var(--text);
}
.trust-row span { color: var(--muted); font-size: 12px; letter-spacing: 1px; text-transform: uppercase; }

.hero-art { position: relative; min-height: 480px; }
.hero-card {
  position: relative; width: 100%; max-width: 460px; margin: 0 auto;
  aspect-ratio: 1 / 1;
  background: linear-gradient(160deg, rgba(78,166,255,.22), rgba(139,92,246,.20), rgba(212,175,55,.14));
  border: 1px solid var(--border-2); border-radius: var(--radius-xl);
  display: grid; place-items: center; overflow: hidden;
  box-shadow: 0 50px 110px -30px rgba(78,166,255,.6);
}
.hero-card-glow {
  position: absolute; inset: -40%;
  background: conic-gradient(from 0deg, transparent, rgba(212,175,55,.22), transparent 30%);
  animation: spin 14s linear infinite; z-index: 0;
}
.hero-logo {
  position: relative; z-index: 1;
  width: 62%; max-width: 300px;
  filter: drop-shadow(0 22px 56px rgba(78,166,255,.6));
  animation: float 6s ease-in-out infinite;
}
.float-chip {
  position: absolute; padding: 12px 18px; border-radius: 14px;
  background: rgba(7,10,31,.85); backdrop-filter: blur(12px);
  border: 1px solid var(--border-2); font-size: 13px; font-weight: 500;
  box-shadow: 0 14px 36px -12px rgba(0,0,0,.7);
  display: flex; align-items: center; gap: 8px;
}
.chip-1 { top: 8%;   right: -20px; animation: float 5s ease-in-out infinite; }
.chip-2 { top: 50%;  left:  -30px; animation: float 6s ease-in-out infinite reverse; }
.chip-3 { bottom: 6%; right: 8%;   animation: float 7s ease-in-out infinite; }

@keyframes spin  { to { transform: rotate(360deg); } }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* ============================================================
   MARQUEE TECH STRIP
   ============================================================ */
.marquee {
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  padding: 26px 0; background: rgba(255,255,255,.02);
  overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track {
  display: flex; gap: 60px; width: max-content;
  animation: marquee 38s linear infinite;
}
.marquee-track span {
  font-family: 'Playfair Display', serif; font-size: 22px;
  color: var(--muted); white-space: nowrap; letter-spacing: .5px;
  display: inline-flex; align-items: center; gap: 10px;
}
.marquee-track span::before {
  content: "✦"; color: var(--gold); font-size: 12px;
}
@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ============================================================
   STATS
   ============================================================ */
.stats { text-align: center; }
.stat { padding: 30px 10px; }
.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: clamp(38px, 5vw, 60px); line-height: 1; font-weight: 700;
}
.stat-label {
  margin-top: 10px; color: var(--muted);
  font-size: 12px; letter-spacing: 2px; text-transform: uppercase;
}

/* ============================================================
   PORTFOLIO  (image-based)
   ============================================================ */
.portfolio-card { padding: 0; overflow: hidden; }
.portfolio-card h3,
.portfolio-card p,
.portfolio-card .tags { padding-left: 24px; padding-right: 24px; }
.portfolio-card .tags { padding-bottom: 24px; margin-top: 14px; }
.portfolio-card h3 { padding-top: 22px; }

.portfolio-cover {
  height: 220px; position: relative; overflow: hidden;
}
.portfolio-cover img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.2s cubic-bezier(.2,.8,.2,1);
}
.portfolio-card:hover .portfolio-cover img { transform: scale(1.08); }
.portfolio-cover::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(5,8,24,.05) 30%, rgba(5,8,24,.85) 100%);
}
.portfolio-cat {
  position: absolute; left: 18px; bottom: 16px; z-index: 2;
  font-size: 11px; letter-spacing: 2px; text-transform: uppercase;
  background: rgba(255,255,255,.92); padding: 6px 12px; border-radius: 999px;
  color: var(--ink); font-weight: 600;
}
.portfolio-arrow {
  position: absolute; right: 18px; bottom: 16px; z-index: 2;
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--gold); color: #1a1305;
  display: grid; place-items: center; font-weight: 700; font-size: 18px;
  transform: translateY(8px); opacity: 0;
  transition: transform .35s, opacity .35s;
}
.portfolio-card:hover .portfolio-arrow { transform: translateY(0); opacity: 1; }

/* ============================================================
   QUOTES
   ============================================================ */
.quote-card { font-style: italic; }
.quote-card p { margin: 0 0 20px; font-size: 15px; }
.quote-card footer { font-style: normal; display: flex; flex-direction: column; }
.quote-card footer span { color: var(--muted); font-size: 13px; }
.quote-card .stars { color: var(--gold); letter-spacing: 2px; margin-bottom: 14px; font-size: 14px; }

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band {
  display: flex; align-items: center; justify-content: space-between;
  gap: 28px; padding: 56px; border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 0% 0%, rgba(78,166,255,.25), transparent 60%),
    radial-gradient(circle at 100% 100%, rgba(212,175,55,.22), transparent 60%),
    linear-gradient(135deg, rgba(139,92,246,.18), rgba(78,166,255,.10));
  border: 1px solid var(--border-2);
  flex-wrap: wrap; position: relative; overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute; inset: -50%;
  background: conic-gradient(from 0deg, transparent, rgba(212,175,55,.18), transparent 25%);
  animation: spin 18s linear infinite; opacity: .6;
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band .lead { margin: 0; }

/* ============================================================
   PAGE HERO
   ============================================================ */
.page-hero {
  padding: 120px 0 50px; text-align: center; position: relative;
}
.page-hero .lead { max-width: 720px; margin: 0 auto; }

/* ============================================================
   ABOUT / BIG CARD
   ============================================================ */
.big-card { padding: 8px 30px; }
.big-card-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 0; border-bottom: 1px solid var(--border);
  font-size: 15px;
}
.big-card-row:last-child { border-bottom: 0; }
.big-card-row span { color: var(--muted); }

/* ============================================================
   PROCESS
   ============================================================ */
.process .step-card { text-align: center; }
.step-num {
  font-family: 'Playfair Display', serif;
  font-size: 38px; font-weight: 700; display: block; margin-bottom: 6px;
}

/* ============================================================
   TEAM
   ============================================================ */
.leader-card { text-align: center; }
.leader-avatar {
  width: 100px; height: 100px; border-radius: 50%;
  display: grid; place-items: center; margin: 0 auto 16px;
  font-family: 'Playfair Display', serif; font-size: 34px; font-weight: 700;
  border: 3px solid rgba(255,255,255,.16);
  box-shadow: 0 18px 40px -12px rgba(78,166,255,.5);
}
.leader-card .role { display: block; margin: -4px 0 14px; font-size: 13px; letter-spacing: 1px; text-transform: uppercase; }
.leader-meta { list-style: none; padding: 0; margin: 16px 0 0; font-size: 14px; }
.leader-meta li { padding: 6px 0; color: var(--muted); }
.leader-meta a { color: var(--text); }

.member-card { text-align: center; padding: 26px 18px; }
.member-avatar {
  width: 68px; height: 68px; border-radius: 18px;
  display: grid; place-items: center; margin: 0 auto 12px;
  background: var(--grad); color: #0a0e27;
  font-family: 'Playfair Display', serif; font-size: 22px; font-weight: 700;
  box-shadow: 0 14px 30px -10px rgba(78,166,255,.5);
}
.member-card h4 { margin: 0; font-size: 15px; }
.member-card .role { font-size: 12px; color: var(--gold-2); display: block; margin: 4px 0 8px; }

/* ============================================================
   INDUSTRIES
   ============================================================ */
.industries-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.industry-pill {
  display: flex; align-items: center; gap: 12px;
  padding: 18px 20px; border-radius: 14px;
  background: rgba(255,255,255,.03); border: 1px solid var(--border);
  transition: transform .3s, border-color .3s, background .3s;
}
.industry-pill:hover { transform: translateY(-3px); border-color: var(--gold); background: rgba(212,175,55,.06); }
.industry-pill .ico { font-size: 22px; }
.industry-pill span { font-weight: 500; }

/* ============================================================
   FAQ
   ============================================================ */
.faq-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.faq-item {
  background: rgba(255,255,255,.03); border: 1px solid var(--border);
  border-radius: 14px; overflow: hidden;
  transition: border-color .25s, background .25s;
}
.faq-item[open] { border-color: var(--border-2); background: rgba(255,255,255,.05); }
.faq-item summary {
  cursor: pointer; padding: 22px 24px; font-weight: 600; font-size: 16px;
  display: flex; justify-content: space-between; align-items: center;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "＋"; color: var(--gold-2); font-size: 20px; transition: transform .3s;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-body {
  padding: 0 24px 22px; color: var(--muted); font-size: 15px; line-height: 1.7;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact-info .info-block {
  margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 4px;
}
.contact-info .info-block strong { font-size: 16px; }
.contact-info .info-block a { color: var(--text); }
.contact-info .info-block a:hover { color: var(--gold-2); }

.contact-form .form-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
}
.contact-form label {
  display: flex; flex-direction: column; gap: 6px; margin-top: 14px;
  font-size: 13px; color: var(--muted);
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  font: inherit; font-size: 14px; color: var(--text);
  background: rgba(0,0,0,.30); border: 1px solid var(--border-2);
  border-radius: 12px; padding: 13px 14px; outline: none;
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--gold); background: rgba(0,0,0,.4);
  box-shadow: 0 0 0 4px rgba(212,175,55,.12);
}
.contact-form textarea { resize: vertical; min-height: 120px; }
.contact-form .btn { margin-top: 22px; }
.contact-form .hp { position: absolute; left: -9999px; }

/* ============================================================
   SOCIALS
   ============================================================ */
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a {
  width: 38px; height: 38px; border-radius: 10px;
  display: grid; place-items: center; font-weight: 700; font-size: 13px;
  background: rgba(255,255,255,.05); border: 1px solid var(--border-2);
  color: var(--muted); text-transform: uppercase;
  transition: transform .25s, color .25s, border-color .25s;
}
.socials a:hover { color: var(--gold-2); border-color: var(--gold); transform: translateY(-3px); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  margin-top: 60px;
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.45));
  padding: 70px 0 30px;
}
.footer-grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px;
}
.footer-brand .muted { margin-top: 16px; font-size: 14px; }
.site-footer h4 {
  font-size: 12px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--gold-2); margin: 0 0 18px;
}
.footer-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.footer-list a { color: var(--muted); }
.footer-list a:hover { color: var(--text); }
.footer-bottom {
  margin-top: 50px; padding-top: 24px; border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 13px; color: var(--muted);
}

/* ============================================================
   REVEAL ANIMATIONS
   ============================================================ */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal-l { transform: translateX(-40px); }
.reveal-r { transform: translateX(40px); }
.reveal.in.reveal-l, .reveal.in.reveal-r { transform: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .grid-3, .grid-4, .grid-5, .industries-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-2-wide { grid-template-columns: 1fr; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-art { min-height: 380px; margin-top: 30px; }
  .nav-links {
    display: none; position: absolute; top: 82px; left: 0; right: 0;
    flex-direction: column; gap: 6px;
    background: #fff; padding: 18px; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-nav);
  }
  .nav-links.open { display: flex; }
  .nav-burger { display: flex; }
  .nav-cta { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .section { padding: 70px 0; }
  .grid-2, .grid-3, .grid-4, .grid-5, .industries-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 32px; }
  .contact-form .form-row { grid-template-columns: 1fr; }
}

/* ============================================================
   v3 · DGAPS-INSPIRED · Top bar, dropdowns, carousel, strip cards
   ============================================================ */

/* ---------- TOP UTILITY BAR (WHITE, CLEAN) ---------- */
.topbar {
  background: #ffffff;
  color: var(--ink-soft);
  font-size: 13px;
  border-bottom: 1px solid rgba(14,18,51,.06);
  position: relative; z-index: 51;
}
.topbar-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px; padding: 10px 24px; flex-wrap: wrap;
}
.topbar-info { display: flex; gap: 28px; flex-wrap: wrap; align-items: center; }
.topbar-info span,
.topbar-info a { color: var(--ink-soft); display: inline-flex; align-items: center; gap: 8px; font-weight: 500; }
.topbar-info a:hover { color: var(--green); }
.topbar-info i {
  width: 26px; height: 26px; border-radius: 50%;
  display: inline-grid; place-items: center;
  background: linear-gradient(135deg, #fff7d6, #ffe79a);
  color: #8a6a08; font-size: 11px;
}
.topbar-cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 20px; border-radius: 999px;
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  color: var(--green) !important; font-weight: 700; font-size: 13px;
  box-shadow: 0 8px 20px -6px rgba(212,175,55,.55);
  transition: transform .25s, box-shadow .25s, filter .25s;
  border: 1px solid rgba(212,175,55,.55);
}
.topbar-cta:hover { transform: translateY(-2px); box-shadow: 0 14px 26px -6px rgba(212,175,55,.85); filter: brightness(1.05); }

/* ---------- NAV DROPDOWNS (WHITE, REFINED) ---------- */
.nav-dropdown { position: relative; }
.nav-dropdown > a .chev { font-size: 9px; margin-left: 6px; transition: transform .25s; opacity: .7; }
.nav-dropdown:hover > a .chev { transform: rotate(180deg); opacity: 1; color: var(--green); }
.dropdown-menu {
  position: absolute; top: calc(100% + 6px); left: 50%; transform: translate(-50%, 10px);
  min-width: 270px; padding: 12px;
  background: #ffffff;
  border: 1px solid rgba(14,18,51,.06);
  border-radius: 16px;
  box-shadow:
    0 30px 70px -20px rgba(14,18,51,.22),
    0 8px 18px -8px rgba(14,18,51,.10);
  opacity: 0; visibility: hidden;
  transition: opacity .22s ease, transform .28s cubic-bezier(.2,.8,.2,1), visibility .22s;
  z-index: 60;
}
.dropdown-menu::before {
  content: ""; position: absolute; top: -7px; left: 50%; transform: translateX(-50%) rotate(45deg);
  width: 14px; height: 14px; background: #fff;
  border-left: 1px solid rgba(14,18,51,.06);
  border-top:  1px solid rgba(14,18,51,.06);
  border-radius: 3px;
}
.nav-dropdown:hover .dropdown-menu,
.nav-dropdown.open .dropdown-menu {
  opacity: 1; visibility: visible; transform: translate(-50%, 0);
}
.dropdown-menu a {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 14px; font-size: 14px; color: var(--ink);
  border-radius: 10px; white-space: nowrap;
  font-weight: 500; transition: background .2s, color .2s, transform .2s;
}
.dropdown-menu a:hover {
  background: linear-gradient(135deg, rgba(212,175,55,.10), rgba(20,83,45,.06));
  color: var(--green);
  transform: translateX(2px);
}
.dropdown-menu a i {
  width: 28px; height: 28px; border-radius: 8px;
  display: inline-grid; place-items: center;
  background: linear-gradient(135deg, #fff7d6, #ffe79a);
  color: #8a6a08; font-size: 12px;
  transition: background .2s, color .2s;
}
.dropdown-menu a:hover i {
  background: linear-gradient(135deg, var(--green), var(--green-2));
  color: var(--gold-2);
}

/* ---------- HERO CAROUSEL ---------- */
.hero-carousel { padding: 50px 0 30px; }
.carousel {
  position: relative; border-radius: var(--radius-xl); overflow: hidden;
  border: 1px solid var(--border-2);
  background:
    radial-gradient(circle at 0% 0%,   rgba(78,166,255,.22), transparent 55%),
    radial-gradient(circle at 100% 100%, rgba(212,175,55,.18), transparent 55%),
    linear-gradient(135deg, rgba(139,92,246,.18), rgba(78,166,255,.10));
  box-shadow: 0 50px 110px -30px rgba(78,166,255,.5);
  min-height: 480px;
}
.carousel-track { position: relative; width: 100%; min-height: 480px; }
.carousel-slide {
  position: absolute; inset: 0; padding: 60px;
  opacity: 0; visibility: hidden; transform: scale(.98);
  transition: opacity .8s ease, transform .8s ease, visibility .8s;
}
.carousel-slide.active { opacity: 1; visibility: visible; transform: scale(1); }
.slide-grid {
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 50px;
  align-items: center; height: 100%;
}
.slide-image { position: relative; }
.slide-image img {
  width: 100%; max-width: 460px; aspect-ratio: 1.2/1; object-fit: cover;
  border-radius: var(--radius-lg); border: 1px solid var(--border-2);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.6);
}
.slide-image-glow {
  position: absolute; inset: -30px; z-index: -1; border-radius: 50%;
  background: radial-gradient(circle, rgba(212,175,55,.35), transparent 60%);
  filter: blur(60px);
}
.slide-copy .display { font-size: clamp(28px, 4vw, 48px); margin: 14px 0 16px; }
.slide-copy .lead { font-size: 16px; }

.carousel-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
  width: 48px; height: 48px; border-radius: 50%; cursor: pointer;
  background: rgba(255,255,255,.1); border: 1px solid var(--border-2);
  color: #fff; backdrop-filter: blur(10px);
  display: grid; place-items: center; font-size: 14px;
  transition: background .25s, transform .25s;
}
.carousel-arrow:hover { background: var(--gold); color: #1a1305; transform: translateY(-50%) scale(1.08); }
.carousel-arrow.prev { left: 16px; }
.carousel-arrow.next { right: 16px; }

.carousel-dots {
  position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%);
  display: flex; gap: 8px; z-index: 5;
}
.carousel-dots button {
  width: 28px; height: 4px; border-radius: 4px; cursor: pointer;
  background: rgba(255,255,255,.25); border: none; padding: 0;
  transition: background .25s, width .25s;
}
.carousel-dots button.active { background: var(--gold); width: 44px; }

/* ---------- SERVICES STRIP (4-card grid · dgaps-style) ---------- */
.section-services-strip { padding: 70px 0; }
.strip-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px;
}
.strip-card {
  background: linear-gradient(180deg, var(--surface), var(--surface-2));
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  overflow: hidden; position: relative; display: flex; flex-direction: column;
  transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s, border-color .3s;
  color: var(--text);
}
.strip-card:hover {
  transform: translateY(-8px); border-color: var(--gold);
  box-shadow: 0 30px 70px -20px rgba(212,175,55,.35);
  color: var(--text);
}
.strip-card-img { position: relative; height: 180px; overflow: hidden; }
.strip-card-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1s cubic-bezier(.2,.8,.2,1);
}
.strip-card:hover .strip-card-img img { transform: scale(1.1); }
.strip-card-img::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(5,8,24,0) 50%, rgba(5,8,24,.85) 100%);
}
.strip-icon {
  position: absolute; top: 14px; right: 14px; z-index: 2;
  width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center; font-size: 22px;
  background: rgba(255,255,255,.95); color: var(--ink);
  box-shadow: 0 10px 24px -6px rgba(0,0,0,.4);
  transition: transform .35s, background .35s;
}
.strip-card:hover .strip-icon {
  transform: rotate(-8deg) scale(1.1);
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
}
.strip-card-body { padding: 22px 22px 24px; flex: 1; display: flex; flex-direction: column; }
.strip-card-body h3 { margin: 0 0 8px; font-size: 18px; }
.strip-card-body p { color: var(--muted); font-size: 14px; margin: 0 0 14px; flex: 1; }
.strip-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 600; color: var(--gold-2);
  letter-spacing: .5px; transition: gap .25s;
}
.strip-card:hover .strip-link { gap: 12px; }

/* ---------- "BEST SOFTWARE HOUSE" GROW SECTION ---------- */
.section-grow {
  padding: 90px 0;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(212,175,55,.08), transparent 60%),
    radial-gradient(ellipse at 50% 100%, rgba(78,166,255,.08), transparent 60%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.grow-icon {
  width: 80px; height: 80px; border-radius: 50%;
  display: grid; place-items: center; margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  color: #1a1305; font-size: 36px;
  box-shadow: 0 18px 40px -10px rgba(212,175,55,.6);
  animation: pulse-grow 3s ease-in-out infinite;
}
@keyframes pulse-grow {
  0%, 100% { transform: scale(1); box-shadow: 0 18px 40px -10px rgba(212,175,55,.6); }
  50%      { transform: scale(1.06); box-shadow: 0 24px 50px -8px rgba(212,175,55,.85); }
}
.section-grow .display { font-size: clamp(32px, 4.4vw, 56px); margin: 8px 0 6px; }
.grow-sub {
  font-family: 'Playfair Display', serif; font-size: 22px; font-style: italic;
  color: var(--gold-2); margin: 0 0 18px; display: block;
}
.h2-sub {
  font-size: 18px; color: var(--text); margin: 8px 0 22px;
  font-weight: 500; letter-spacing: .3px;
}
.grow-text {
  max-width: 880px; margin: 0 auto 26px;
  color: var(--muted); font-size: 16px; line-height: 1.85; text-align: center;
}
.grow-text strong { color: var(--text); }
.grow-text em { color: var(--gold-2); font-style: normal; font-weight: 500; }
.center-row { justify-content: center; }

/* ---------- COUNTS section background art ---------- */
.section-counts {
  padding: 80px 0;
  background:
    linear-gradient(180deg, rgba(78,166,255,.06), transparent),
    radial-gradient(ellipse at 50% 50%, rgba(139,92,246,.10), transparent 60%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* ---------- SERVICE CARD WITH IMAGE ---------- */
.service-card-img { padding: 0; overflow: hidden; }
.service-img { height: 200px; overflow: hidden; position: relative; }
.service-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1s cubic-bezier(.2,.8,.2,1);
}
.service-card-img:hover .service-img img { transform: scale(1.08); }
.service-img::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(5,8,24,.6) 100%);
}
.service-body { padding: 26px 26px 28px; }
.service-body .card-icon { margin-top: -42px; position: relative; z-index: 2; background: #14193f; }

/* ---------- RESPONSIVE additions ---------- */
@media (max-width: 1024px) {
  .strip-grid { grid-template-columns: repeat(2, 1fr); }
  .slide-grid { grid-template-columns: 1fr; gap: 24px; }
  .carousel-slide { padding: 36px 30px 60px; }
  .slide-image img { max-width: 360px; margin: 0 auto; aspect-ratio: 1.4/1; }
  .topbar-info { gap: 14px; font-size: 12px; }
  .nav-dropdown .dropdown-menu {
    position: static; transform: none; box-shadow: none;
    border: none; background: transparent; min-width: 0; padding: 4px 0 4px 16px;
    opacity: 1; visibility: visible;
    display: none;
  }
  .nav-dropdown.open .dropdown-menu { display: block; }
  .nav-dropdown > a .chev { display: inline-block; margin-left: auto; }
}
@media (max-width: 720px) {
  .topbar-info { width: 100%; justify-content: center; }
  .topbar-cta { display: none; }
  .strip-grid { grid-template-columns: 1fr; }
  .carousel { min-height: 0; }
  .carousel-track { min-height: 560px; }
  .carousel-arrow { width: 38px; height: 38px; }
  .carousel-arrow.prev { left: 8px; }
  .carousel-arrow.next { right: 8px; }
}

/* ============================================================
   v4 · VVIP LIGHT GRAY THEME (full-site override)
   Premium soft-gray surfaces · white cards · gold + green accents
   ============================================================ */

:root {
  --bg:        #eef1f7;
  --bg-2:      #e7ebf3;
  --surface:   #ffffff;
  --surface-2: #fafbfd;
  --border:    rgba(14, 18, 51, 0.07);
  --border-2:  rgba(14, 18, 51, 0.12);
  --text:      #0e1233;
  --muted:     #5a6086;
  --line:      rgba(14, 18, 51, 0.10);
  --shadow-lg: 0 30px 70px -28px rgba(20, 30, 70, .25);
  --shadow-nav:0 8px 30px -12px rgba(14, 18, 51, .12);
  --grad:      linear-gradient(135deg, var(--green-3) 0%, var(--green) 50%, var(--gold) 110%);
  --grad-soft: linear-gradient(135deg, rgba(20,83,45,.10), rgba(212,175,55,.10));
}

/* Body becomes premium gray with subtle paper grain */
body {
  background:
    radial-gradient(ellipse at 20% 0%,  rgba(212,175,55,.07), transparent 60%),
    radial-gradient(ellipse at 80% 100%, rgba(20,83,45,.07), transparent 60%),
    linear-gradient(180deg, #eef1f7 0%, #e7ebf3 100%);
  color: var(--text);
}
.bg-grid {
  background:
    radial-gradient(ellipse at 10% 0%,  rgba(20,83,45,.05), transparent 55%),
    radial-gradient(ellipse at 90% 60%, rgba(212,175,55,.06), transparent 55%),
    transparent;
}
.bg-grid::before {
  background-image:
    linear-gradient(rgba(14,18,51,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14,18,51,.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
  opacity: .6;
}
.bg-orb-1 { background: #14532d; opacity: .10; }
.bg-orb-2 { background: #d4af37; opacity: .12; }

/* Buttons: ghost on light bg */
.btn-ghost {
  background: rgba(14,18,51,.04);
  color: var(--text);
  border-color: var(--border-2);
}
.btn-ghost:hover { background: rgba(20,83,45,.08); color: var(--green); border-color: rgba(20,83,45,.30); }

/* Eyebrow chip on light */
.eyebrow {
  color: var(--green);
  border-color: rgba(20,83,45,.25);
  background: linear-gradient(135deg, rgba(212,175,55,.14), rgba(20,83,45,.06));
}

/* Cards: white surfaces with depth */
.card {
  background: linear-gradient(180deg, #ffffff 0%, #fafbfe 100%);
  border-color: var(--border);
  box-shadow: 0 6px 18px -10px rgba(14,18,51,.10);
}
.card:hover {
  box-shadow: 0 32px 70px -28px rgba(20,30,70,.28);
}
.card-icon {
  color: var(--green);
  background: linear-gradient(135deg, rgba(212,175,55,.18), rgba(20,83,45,.10));
  border-color: var(--border-2);
}
.tags span {
  color: var(--muted);
  border-color: var(--border-2);
  background: rgba(14,18,51,.03);
}

/* Hero carousel: light glass panel */
.carousel {
  background:
    radial-gradient(circle at 0% 0%,   rgba(212,175,55,.18), transparent 55%),
    radial-gradient(circle at 100% 100%, rgba(20,83,45,.14), transparent 55%),
    linear-gradient(135deg, #ffffff, #f5f7fc);
  border-color: var(--border-2);
  box-shadow: 0 50px 110px -30px rgba(20,30,70,.30);
}
.slide-image img { border-color: var(--border-2); }
.slide-copy .lead { color: var(--muted); }
.carousel-arrow {
  background: rgba(255,255,255,.85);
  border-color: var(--border-2);
  color: var(--green);
  box-shadow: 0 8px 20px -8px rgba(14,18,51,.15);
}
.carousel-arrow:hover { background: var(--gold); color: var(--green-3); }
.carousel-dots button { background: rgba(14,18,51,.20); }
.carousel-dots button.active { background: var(--green); }

/* Strip cards: white tiles */
.strip-card {
  background: #ffffff;
  border-color: var(--border);
  color: var(--text);
  box-shadow: 0 8px 22px -14px rgba(14,18,51,.15);
}
.strip-card:hover {
  border-color: var(--gold);
  box-shadow: 0 30px 60px -22px rgba(212,175,55,.40);
  color: var(--text);
}
.strip-card-img::after {
  background: linear-gradient(180deg, rgba(255,255,255,0) 50%, rgba(255,255,255,.05) 100%);
}
.strip-card-body p { color: var(--muted); }
.strip-link { color: var(--green); }
.strip-card:hover .strip-link { color: var(--green-3); }

/* "Best Software House" intro */
.section-grow {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(212,175,55,.10), transparent 60%),
    radial-gradient(ellipse at 50% 100%, rgba(20,83,45,.10), transparent 60%),
    #fbfcfe;
  border-color: var(--border);
}
.grow-sub { color: var(--green); }
.h2-sub { color: var(--text); }
.grow-text { color: var(--muted); }
.grow-text strong { color: var(--text); }
.grow-text em { color: var(--green); }

/* Stats / counts */
.section-counts {
  background:
    radial-gradient(ellipse at 50% 50%, rgba(20,83,45,.07), transparent 60%),
    #f5f7fc;
  border-color: var(--border);
}
.stat-label { color: var(--muted); }
.stat-num {
  background: linear-gradient(135deg, var(--green-3), var(--green) 50%, var(--gold));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Sections */
.section-alt { background: linear-gradient(180deg, transparent, rgba(14,18,51,.025), transparent); }

/* Service cards with image header */
.service-body .card-icon { background: #ffffff; box-shadow: 0 10px 24px -10px rgba(14,18,51,.18); }

/* Marquee */
.marquee {
  background: linear-gradient(180deg, #f8fafd, #eef1f7);
  border-color: var(--border);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track span { color: var(--ink-soft); }
.marquee-track span::before { color: var(--gold); }

/* Portfolio cards */
.portfolio-card { background: #ffffff; }
.portfolio-cover::after {
  background: linear-gradient(180deg, rgba(14,18,51,0) 30%, rgba(14,18,51,.55) 100%);
}
.portfolio-cat { background: rgba(255,255,255,.95); color: var(--green); }
.portfolio-arrow { background: var(--green); color: var(--gold-2); }

/* Industries */
.industry-pill {
  background: #ffffff;
  border-color: var(--border);
  box-shadow: 0 4px 14px -8px rgba(14,18,51,.15);
}
.industry-pill:hover { border-color: var(--gold); background: linear-gradient(135deg, rgba(212,175,55,.10), #ffffff); }

/* Quotes */
.quote-card { background: #ffffff; }
.quote-card footer span { color: var(--muted); }

/* CTA band */
.cta-band {
  background:
    radial-gradient(circle at 0% 0%, rgba(212,175,55,.20), transparent 60%),
    radial-gradient(circle at 100% 100%, rgba(20,83,45,.18), transparent 60%),
    linear-gradient(135deg, #ffffff, #f3f5fa);
  border-color: var(--border-2);
  box-shadow: 0 30px 80px -30px rgba(14,18,51,.25);
}
.cta-band::before { opacity: .35; }
.cta-band .lead { color: var(--muted); }

/* FAQ */
.faq-item {
  background: #ffffff;
  border-color: var(--border);
  box-shadow: 0 4px 14px -10px rgba(14,18,51,.12);
}
.faq-item[open] {
  background: #ffffff;
  border-color: var(--gold);
  box-shadow: 0 14px 32px -16px rgba(212,175,55,.35);
}
.faq-item summary::after { color: var(--green); }
.faq-item .faq-body { color: var(--muted); }

/* Contact form */
.contact-form input,
.contact-form select,
.contact-form textarea {
  color: var(--text);
  background: #ffffff;
  border-color: var(--border-2);
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  background: #ffffff;
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(20,83,45,.10);
}

/* Page hero */
.page-hero { padding: 80px 0 40px; }
.page-hero .lead { color: var(--muted); }

/* Big-card (about) */
.big-card-row { border-color: var(--border); }
.big-card-row span { color: var(--muted); }

/* Team */
.leader-meta li { color: var(--muted); }
.leader-meta a  { color: var(--text); }
.leader-avatar { border-color: rgba(20,83,45,.18); }

/* Hero card (legacy) */
.float-chip {
  background: rgba(255,255,255,.95);
  border-color: var(--border-2);
  color: var(--text);
  box-shadow: 0 14px 36px -12px rgba(14,18,51,.18);
}

/* Socials */
.socials a {
  background: #ffffff;
  border-color: var(--border-2);
  color: var(--ink-soft);
  box-shadow: 0 4px 12px -8px rgba(14,18,51,.15);
}
.socials a:hover { color: var(--green); border-color: var(--gold); }

/* FOOTER → LIGHT */
.site-footer {
  background: linear-gradient(180deg, #f8fafd, #eef1f7);
  border-top: 1px solid var(--border);
  color: var(--text);
}
.site-footer .brand,
.site-footer .brand:hover { color: var(--ink); }
.site-footer .brand-name {
  background: linear-gradient(135deg, var(--green-3), var(--green) 50%, var(--gold));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.site-footer .brand-tag { color: var(--green); }
.site-footer h4 { color: var(--green); }
.site-footer .muted { color: var(--muted); }
.footer-list a { color: var(--muted); }
.footer-list a:hover { color: var(--green); }
.footer-bottom { border-top-color: var(--border); color: var(--muted); }

/* Lead text */
.lead { color: var(--muted); }

/* Marquee track soft */
.marquee { padding: 30px 0; }

/* ============================================================
   v4 · MEGA DROPDOWN (Services menu)
   ============================================================ */
.nav-dropdown-mega { position: static; }
.dropdown-mega {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 8px; padding: 22px;
  min-width: 760px;
  left: 50%; transform: translate(-50%, 10px);
}
.nav-dropdown-mega:hover .dropdown-mega,
.nav-dropdown-mega.open .dropdown-mega {
  transform: translate(-50%, 0);
}
.dropdown-col { display: flex; flex-direction: column; gap: 4px; padding: 4px; }
.dropdown-col-title {
  font-size: 11px; letter-spacing: 2.5px; text-transform: uppercase;
  font-weight: 700; color: var(--green);
  padding: 6px 14px 10px;
  border-bottom: 1px dashed rgba(20,83,45,.18);
  margin-bottom: 4px;
}
.dropdown-mega a {
  align-items: flex-start; gap: 12px; padding: 10px 12px;
  white-space: normal;
}
.dropdown-mega a > span {
  display: flex; flex-direction: column; gap: 3px; line-height: 1.25;
}
.dropdown-mega a strong {
  font-size: 14px; font-weight: 600; color: var(--text);
  transition: color .2s;
}
.dropdown-mega a em {
  font-size: 11.5px; font-style: normal; color: var(--muted);
  letter-spacing: .2px;
}
.dropdown-mega a:hover strong { color: var(--green); }
.dropdown-mega a i {
  width: 36px; height: 36px; flex-shrink: 0;
  border-radius: 10px;
  background: linear-gradient(135deg, #fff7d6, #ffe79a);
  color: #8a6a08; font-size: 14px;
}
.dropdown-mega a:hover i {
  background: linear-gradient(135deg, var(--green), var(--green-2));
  color: var(--gold-2);
}

/* Hide mega dropdown arrow tail since it spans wider */
.dropdown-mega::before { left: 50%; }

/* ============================================================
   v4 · RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .dropdown-mega {
    grid-template-columns: 1fr;
    min-width: 0; padding: 8px;
  }
  .dropdown-col { padding: 6px 8px 10px; }
  .dropdown-col-title { padding: 6px 8px 8px; margin-bottom: 2px; }
}

/* ==================================================================
   V5 — EDITORIAL AGENCY OVERHAUL
   Strips gimmicks, restores typographic hierarchy and white space.
================================================================== */

:root{
  --ink:        #0c0e12;
  --ink-2:      #1a1d24;
  --muted:      #5b616e;
  --muted-2:    #8a8f99;
  --rule:       #e7e5e0;
  --rule-2:     #efece6;
  --paper:      #f6f4ee;
  --paper-2:    #faf8f3;
  --white:      #ffffff;
  --green:      #0e3b1f;
  --green-2:    #14532d;
  --gold:       #b8892b;
  --gold-2:     #d4af37;
}

body{
  background: var(--paper-2) !important;
  color: var(--ink) !important;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-feature-settings: "ss01","ss02","cv11";
  -webkit-font-smoothing: antialiased;
}

/* Hide legacy decorative layers if anything still leaks through */
.bg-grid, .bg-orb, .bg-orb-1, .bg-orb-2{ display:none !important; }

/* ----- Topbar: thinner, more editorial ----- */
.topbar{
  background: var(--white) !important;
  border-bottom: 1px solid var(--rule) !important;
  color: var(--muted) !important;
  font-size: 12.5px;
  letter-spacing: .01em;
}
.topbar a{ color: var(--muted) !important; }
.topbar a:hover{ color: var(--ink) !important; }

/* ----- Nav refinement ----- */
.site-nav{
  background: var(--white) !important;
  border-bottom: 1px solid var(--rule) !important;
  backdrop-filter: none !important;
  box-shadow: none !important;
}
.site-nav.scrolled{ box-shadow: 0 1px 0 var(--rule) !important; }
.brand-text{
  background: none !important;
  -webkit-text-fill-color: var(--ink) !important;
  color: var(--ink) !important;
  font-family: 'Playfair Display', serif !important;
  font-weight: 700;
  letter-spacing: .01em;
}
.brand-tag{ color: var(--muted-2) !important; letter-spacing: .14em; font-size: 10px; text-transform: uppercase; }
.nav-links a{
  color: var(--ink) !important;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: .005em;
}
.nav-links a.home-tile{
  background: transparent !important;
  color: var(--ink) !important;
  border: 1px solid var(--rule) !important;
  border-radius: 999px !important;
  padding: 8px 14px !important;
  box-shadow: none !important;
}
.nav-links a.home-tile:hover{ border-color: var(--ink) !important; }
.nav-links a:not(.home-tile):not(.btn):hover{ color: var(--green) !important; }
.nav-links a.active::after,
.nav-links a:hover::after{ background: var(--green) !important; }

/* Buttons — restrained editorial */
.btn{
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .01em;
  border-radius: 999px;
  padding: 12px 22px;
  display: inline-flex; align-items: center; gap: 10px;
  transition: all .2s ease;
  border: 1px solid transparent;
}
.btn .fa{ font-size: 12px; }
.btn-gold{
  background: var(--ink) !important;
  color: var(--white) !important;
  border-color: var(--ink) !important;
  box-shadow: none !important;
}
.btn-gold:hover{
  background: var(--green) !important;
  border-color: var(--green) !important;
  transform: translateY(-1px);
}
.btn-ghost{
  background: transparent !important;
  color: var(--ink) !important;
  border-color: var(--ink) !important;
}
.btn-ghost:hover{
  background: var(--ink) !important;
  color: var(--white) !important;
}

/* ===================== EDITORIAL HERO ===================== */
.ed-hero{
  background: var(--paper-2);
  padding: 120px 0 90px;
  border-bottom: 1px solid var(--rule);
}
.ed-eyebrow{
  display: inline-block;
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--muted);
  padding-bottom: 14px;
  border-bottom: 1px solid var(--ink);
  margin-bottom: 36px;
}
.ed-display{
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  font-size: clamp(44px, 7vw, 92px);
  line-height: 1.02;
  letter-spacing: -.02em;
  color: var(--ink);
  margin: 0 0 56px;
  max-width: 1100px;
}
.ed-hero-foot{
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 60px;
  align-items: end;
  border-top: 1px solid var(--rule);
  padding-top: 36px;
}
.ed-lead{
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 580px;
  margin: 0;
}
.ed-lead strong{ color: var(--ink); font-weight: 600; }
.ed-cta-row{ display:flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }
@media (max-width: 820px){
  .ed-hero{ padding: 80px 0 60px; }
  .ed-hero-foot{ grid-template-columns: 1fr; gap: 28px; }
  .ed-cta-row{ justify-content: flex-start; }
}

/* ===================== METRICS BAR ===================== */
.ed-metrics{
  background: var(--white);
  border-bottom: 1px solid var(--rule);
}
.ed-metrics .container{
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  padding-top: 40px; padding-bottom: 40px;
}
.ed-metric{
  display: flex; flex-direction: column; gap: 10px;
  padding: 6px 28px;
  border-left: 1px solid var(--rule);
}
.ed-metric:first-child{ border-left: none; padding-left: 0; }
.ed-num{
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  font-size: 46px;
  line-height: 1;
  color: var(--ink);
  letter-spacing: -.02em;
}
.ed-num sup{ font-size: 22px; color: var(--gold); top: -.6em; margin-left: 2px; }
.ed-num-soft{ color: var(--muted-2); font-size: 26px; }
.ed-label{
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
}
@media (max-width: 900px){
  .ed-metrics .container{ grid-template-columns: repeat(2, 1fr); gap: 24px 0; }
  .ed-metric{ border-left: none; padding-left: 0; padding-right: 0; }
}

/* ===================== SECTION SCAFFOLD ===================== */
.ed-section{
  padding: 110px 0;
  background: var(--paper-2);
}
.ed-section-tone{ background: var(--white); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.ed-head{ margin-bottom: 56px; max-width: 920px; }
.ed-head-row{
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: end;
  max-width: none;
}
.ed-head-aside{ color: var(--muted); font-size: 15px; line-height: 1.65; max-width: 420px; margin: 0; }
.ed-kicker{
  display: inline-block;
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
}
.ed-kicker.on-dark{ color: rgba(255,255,255,.55); }
.ed-h2{
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.1;
  letter-spacing: -.015em;
  color: var(--ink);
  margin: 0;
}
.ed-h2.on-dark{ color: var(--white); }
.ed-section-foot{ margin-top: 56px; border-top: 1px solid var(--rule); padding-top: 28px; }
@media (max-width: 820px){
  .ed-section{ padding: 70px 0; }
  .ed-head-row{ grid-template-columns: 1fr; }
}

/* ===================== SELECTED WORK ===================== */
.ed-feature{
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 56px;
  align-items: center;
  padding: 0;
  text-decoration: none;
  color: inherit;
  margin-bottom: 80px;
}
.ed-feature-img{
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 4px;
  background: var(--rule-2);
}
.ed-feature-img img{
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .8s ease;
}
.ed-feature:hover .ed-feature-img img{ transform: scale(1.04); }
.ed-feature-cat{
  font-size: 11px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold); font-weight: 600; display:inline-block; margin-bottom: 14px;
}
.ed-feature h3{
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  font-size: 38px; line-height: 1.15; margin: 0 0 18px;
  color: var(--ink); letter-spacing: -.01em;
}
.ed-feature p{ color: var(--muted); font-size: 16px; line-height: 1.65; margin: 0 0 22px; }

.ed-work-grid{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 56px 48px;
}
.ed-work{ text-decoration:none; color: inherit; display:block; }
.ed-work-img{
  aspect-ratio: 16/10; overflow: hidden; border-radius: 4px; background: var(--rule-2);
  margin-bottom: 22px;
}
.ed-work-img img{ width:100%; height:100%; object-fit: cover; transition: transform .7s ease; }
.ed-work:hover .ed-work-img img{ transform: scale(1.04); }
.ed-work-cat{
  font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--muted); font-weight: 600;
}
.ed-work h4{
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  font-size: 22px; line-height: 1.25; margin: 8px 0 8px;
  color: var(--ink);
}
.ed-work p{ color: var(--muted); font-size: 14.5px; line-height: 1.6; margin: 0; }

.ed-link, .ed-link-lg{
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 600; font-size: 13px; letter-spacing: .02em;
  color: var(--ink); text-decoration: none;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
  transition: gap .2s ease, color .2s ease;
}
.ed-link-lg{ font-size: 15px; }
.ed-link:hover, .ed-link-lg:hover{ gap: 16px; color: var(--green); border-color: var(--green); }
.ed-link .fa, .ed-link-lg .fa{ font-size: 11px; }

@media (max-width: 820px){
  .ed-feature{ grid-template-columns: 1fr; gap: 28px; }
  .ed-feature h3{ font-size: 28px; }
  .ed-work-grid{ grid-template-columns: 1fr; gap: 40px; }
}

/* ===================== CAPABILITIES ===================== */
.ed-cap-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--rule);
}
.ed-cap{
  padding: 40px 36px 40px 0;
  border-bottom: 1px solid var(--rule);
  border-right: 1px solid var(--rule);
}
.ed-cap:nth-child(3n){ border-right: none; padding-right: 0; }
.ed-cap:nth-child(3n+2), .ed-cap:nth-child(3n){ padding-left: 36px; }
.ed-cap-num{
  font-family: 'Playfair Display', serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--gold);
  display: block;
  margin-bottom: 22px;
  letter-spacing: .02em;
}
.ed-cap-title{
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  font-size: 26px;
  line-height: 1.2;
  margin: 0 0 14px;
  color: var(--ink);
}
.ed-cap-text{
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
  margin: 0 0 24px;
}
@media (max-width: 900px){
  .ed-cap-grid{ grid-template-columns: 1fr; }
  .ed-cap{ padding: 32px 0 !important; border-right: none; }
}

/* ===================== LEADERSHIP ===================== */
.ed-leaders{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.ed-leader{
  background: var(--white);
  border: 1px solid var(--rule);
  padding: 44px 40px;
  border-radius: 4px;
}
.ed-leader-role{
  font-size: 11px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold); font-weight: 600;
}
.ed-leader-head h3{
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  font-size: 30px; line-height: 1.15;
  margin: 12px 0 24px;
  color: var(--ink);
  border-bottom: 1px solid var(--rule);
  padding-bottom: 24px;
}
.ed-leader p{ color: var(--ink-2); font-size: 15.5px; line-height: 1.7; margin: 0 0 24px; }
.ed-leader-meta{ list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.ed-leader-meta li{
  display: grid; grid-template-columns: 80px 1fr; gap: 16px;
  font-size: 14px;
  border-top: 1px solid var(--rule-2);
  padding-top: 12px;
}
.ed-leader-meta span{ color: var(--muted); text-transform: uppercase; letter-spacing: .15em; font-size: 11px; padding-top: 2px; }
.ed-leader-meta a{ color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--rule); }
.ed-leader-meta a:hover{ border-color: var(--ink); }
.ed-leader-meta strong{ color: var(--ink); font-weight: 500; }
@media (max-width: 820px){
  .ed-leaders{ grid-template-columns: 1fr; }
  .ed-leader{ padding: 32px 24px; }
}

/* ===================== PROCESS ===================== */
.ed-process{
  list-style: none; padding: 0; margin: 0;
  border-top: 1px solid var(--rule);
}
.ed-step{
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 40px;
  padding: 32px 0;
  border-bottom: 1px solid var(--rule);
  align-items: baseline;
}
.ed-step-num{
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  color: var(--gold);
  font-weight: 500;
}
.ed-step h4{
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  font-size: 24px;
  margin: 0 0 8px;
  color: var(--ink);
}
.ed-step p{ color: var(--muted); font-size: 15.5px; line-height: 1.65; margin: 0; max-width: 640px; }
@media (max-width: 600px){
  .ed-step{ grid-template-columns: 1fr; gap: 8px; }
}

/* ===================== INDUSTRIES ===================== */
.ed-industries{
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-wrap: wrap; gap: 0;
  border-top: 1px solid var(--rule);
}
.ed-industries li{
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  color: var(--ink);
  padding: 22px 28px;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  flex: 1 0 25%;
  transition: background .2s ease, color .2s ease;
}
.ed-industries li:hover{ background: var(--ink); color: var(--white); }
@media (max-width: 720px){ .ed-industries li{ flex: 1 0 50%; font-size: 18px; padding: 18px 20px; } }

/* ===================== QUOTES ===================== */
.ed-quotes{
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px;
}
.ed-quote{ margin: 0; padding: 0; border-top: 2px solid var(--ink); padding-top: 24px; }
.ed-quote blockquote{
  font-family: 'Playfair Display', serif;
  font-size: 20px; line-height: 1.45;
  color: var(--ink); margin: 0 0 28px; font-weight: 500;
  letter-spacing: -.005em;
}
.ed-quote figcaption strong{ display: block; font-size: 14px; color: var(--ink); font-weight: 600; }
.ed-quote figcaption span{ font-size: 12.5px; color: var(--muted); letter-spacing: .04em; }
@media (max-width: 900px){ .ed-quotes{ grid-template-columns: 1fr; gap: 28px; } }

/* ===================== FAQ ===================== */
.ed-faq{ border-top: 1px solid var(--ink); }
.ed-faq-item{ border-bottom: 1px solid var(--rule); padding: 24px 0; }
.ed-faq-item summary{
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  font-family: 'Playfair Display', serif;
  font-size: 22px; color: var(--ink); font-weight: 600;
}
.ed-faq-item summary::-webkit-details-marker{ display: none; }
.ed-faq-item summary::after{
  content: "+"; font-size: 28px; color: var(--muted); font-weight: 300;
  transition: transform .2s ease, color .2s ease;
}
.ed-faq-item[open] summary::after{ content: "−"; color: var(--ink); }
.ed-faq-item div{ color: var(--muted); font-size: 15.5px; line-height: 1.7; padding-top: 14px; max-width: 760px; }

/* ===================== CTA BAND ===================== */
.ed-cta{ background: var(--ink); padding: 90px 0; }
.ed-cta-inner{
  display: grid; grid-template-columns: 1.5fr auto; gap: 40px; align-items: center;
}
.ed-cta .ed-lead.on-dark{ color: rgba(255,255,255,.7); margin-top: 12px; }
.ed-cta .btn-gold{ background: var(--gold-2) !important; color: var(--ink) !important; border-color: var(--gold-2) !important; }
.ed-cta .btn-gold:hover{ background: var(--white) !important; border-color: var(--white) !important; color: var(--ink) !important; }
@media (max-width: 820px){ .ed-cta-inner{ grid-template-columns: 1fr; } }

/* ===================== FOOTER editorial polish ===================== */
.site-footer{
  background: var(--white) !important;
  border-top: 1px solid var(--rule) !important;
  color: var(--muted) !important;
  padding: 80px 0 40px !important;
}
.site-footer h4, .site-footer h5, .site-footer .brand-text{ color: var(--ink) !important; }
.site-footer a{ color: var(--ink-2) !important; }
.site-footer a:hover{ color: var(--green) !important; }
.site-footer .footer-bottom{ border-top: 1px solid var(--rule) !important; color: var(--muted-2) !important; }

/* ===================== Page hero on inner pages ===================== */
.page-hero{
  background: var(--paper-2) !important;
  border-bottom: 1px solid var(--rule);
  padding: 110px 0 80px !important;
  text-align: left !important;
}
.page-hero .display, .page-hero h1{
  font-family: 'Playfair Display', serif !important;
  font-weight: 600 !important;
  font-size: clamp(40px, 6vw, 72px) !important;
  letter-spacing: -.015em !important;
  color: var(--ink) !important;
  background: none !important;
  -webkit-text-fill-color: var(--ink) !important;
  margin: 24px 0 24px !important;
  line-height: 1.05 !important;
  max-width: 1000px;
}
.page-hero .eyebrow{
  background: none !important;
  padding: 0 0 14px !important;
  border: none !important;
  border-bottom: 1px solid var(--ink) !important;
  border-radius: 0 !important;
  color: var(--muted) !important;
  letter-spacing: .22em !important;
  text-transform: uppercase;
  font-size: 12px !important;
  display: inline-block;
}
.page-hero .lead{
  color: var(--ink-2) !important;
  font-size: 18px !important;
  max-width: 680px;
  margin: 0 !important;
  line-height: 1.6;
}

/* ===================== Inner page cards: hairline editorial ===================== */
.section, .section-alt{ background: transparent !important; padding: 90px 0 !important; }
.section-alt{ background: var(--white) !important; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.section-head{ margin-bottom: 56px !important; max-width: 920px; }
.section-head .h1, .section-head h2{
  font-family: 'Playfair Display', serif !important;
  font-weight: 600 !important;
  color: var(--ink) !important;
  font-size: clamp(30px, 4vw, 44px) !important;
  letter-spacing: -.015em !important;
  background: none !important;
  -webkit-text-fill-color: var(--ink) !important;
}
.section-head .eyebrow{
  background: none !important; padding: 0 0 12px !important; border: none !important;
  border-bottom: 1px solid var(--ink) !important; border-radius: 0 !important;
  color: var(--muted) !important; letter-spacing: .22em !important; font-size: 11px !important;
  text-transform: uppercase; display: inline-block; margin-bottom: 16px !important;
}

.card{
  background: var(--white) !important;
  border: 1px solid var(--rule) !important;
  border-radius: 4px !important;
  padding: 36px 32px !important;
  box-shadow: none !important;
  transition: border-color .25s ease, transform .25s ease;
}
.card:hover{ border-color: var(--ink) !important; transform: translateY(-2px); }
.card h3, .card h4{
  font-family: 'Playfair Display', serif !important;
  font-weight: 600 !important;
  color: var(--ink) !important;
  font-size: 22px !important;
  margin: 14px 0 10px !important;
}
.card p{ color: var(--muted) !important; font-size: 15px !important; line-height: 1.65 !important; }
.card-icon{
  width: 48px; height: 48px; display: flex; align-items: center; justify-content: center;
  background: var(--paper) !important;
  color: var(--green) !important;
  border-radius: 6px !important;
  font-size: 20px !important;
  margin-bottom: 6px !important;
}
.tags{ margin-top: 18px; display: flex; flex-wrap: wrap; gap: 6px; }
.tags span{
  background: var(--paper) !important;
  color: var(--ink-2) !important;
  border: 1px solid var(--rule) !important;
  font-size: 11.5px !important;
  letter-spacing: .04em;
  padding: 5px 10px !important;
  border-radius: 999px !important;
}
.step-card .step-num, .step-num.grad{
  background: none !important; -webkit-text-fill-color: var(--gold) !important;
  color: var(--gold) !important;
  font-family: 'Playfair Display', serif; font-size: 32px; font-weight: 600;
}

/* CTA band on inner pages */
.cta-band{
  background: var(--ink) !important;
  color: var(--white) !important;
  border: none !important;
  border-radius: 4px !important;
  padding: 56px 48px !important;
  display: grid; grid-template-columns: 1.5fr auto; gap: 32px; align-items: center;
}
.cta-band h2{ color: var(--white) !important; -webkit-text-fill-color: var(--white) !important; background: none !important; }
.cta-band .lead{ color: rgba(255,255,255,.7) !important; }
.cta-band .btn-gold{ background: var(--gold-2) !important; color: var(--ink) !important; border-color: var(--gold-2) !important; }

/* Marquee — hide entirely (cliché) */
.marquee, .marquee-wrap{ display: none !important; }

/* Hide legacy hero carousel if any inner page still includes it */
.hero-carousel, .hero-strip{ display: none !important; }

/* ==================================================================
   V6 — NAVBAR ALIGNMENT (final, editorial)
================================================================== */

.site-header{ background: var(--white) !important; border-bottom: 1px solid var(--rule) !important; }
.site-header::after{ display: none !important; }

.nav{
  height: 78px !important;
  display: grid !important;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px !important;
}

/* Brand — calmer logo, no glow, neat baseline */
.brand-logo{
  width: 40px !important; height: 40px !important;
  filter: none !important;
}
.brand:hover .brand-logo{ transform: none !important; }
.brand-name{ font-size: 22px !important; line-height: 1; }
.brand-tag{ margin-top: 4px !important; letter-spacing: .18em !important; font-size: 9.5px !important; }

/* Centered nav row with even spacing & shared baseline */
.nav-links{
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 4px !important;
  flex: none !important;
  height: 100%;
}
.nav-links > a,
.nav-links > .nav-dropdown > a{
  display: inline-flex !important;
  align-items: center !important;
  height: 40px !important;
  padding: 0 16px !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: var(--ink) !important;
  font-weight: 500 !important;
  font-size: 14px !important;
  letter-spacing: .005em !important;
  position: relative;
  transform: none !important;
  white-space: nowrap;
}
.nav-links > a:hover,
.nav-links > .nav-dropdown:hover > a,
.nav-links > .nav-dropdown > a:hover{
  background: transparent !important;
  color: var(--green) !important;
  transform: none !important;
}

/* Single, uniform underline rail for hover & active */
.nav-links > a::after,
.nav-links > .nav-dropdown > a::after{
  content: "";
  position: absolute;
  left: 16px; right: 16px; bottom: 6px;
  height: 1.5px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .25s ease, background .25s ease;
  border-radius: 0 !important;
  box-shadow: none !important;
}
.nav-links > a:hover::after,
.nav-links > .nav-dropdown:hover > a::after,
.nav-links > .nav-dropdown > a:hover::after{
  transform: scaleX(1);
  background: var(--green);
}
.nav-links > a.active::after,
.nav-links > .nav-dropdown > a.active::after{
  transform: scaleX(1);
  background: var(--ink);
}
.nav-links > a.active,
.nav-links > .nav-dropdown > a.active{ color: var(--ink) !important; font-weight: 600 !important; }

/* Home icon — small outline circle, same baseline */
.nav-links > a[title="Home"]{
  width: 40px !important; height: 40px !important;
  padding: 0 !important;
  display: inline-grid !important; place-items: center;
  border: 1px solid var(--rule) !important;
  border-radius: 999px !important;
  background: var(--white) !important;
  color: var(--ink) !important;
  box-shadow: none !important;
  margin-right: 6px;
  transition: border-color .2s ease, color .2s ease;
}
.nav-links > a[title="Home"]:hover{
  border-color: var(--ink) !important;
  color: var(--green) !important;
  background: var(--white) !important;
  transform: none !important;
}
.nav-links > a[title="Home"].active{
  border-color: var(--ink) !important;
  background: var(--ink) !important;
  color: var(--white) !important;
}
.nav-links > a[title="Home"]::after,
.nav-links > a[title="Home"].active::after{ display: none !important; }
.nav-links > a[title="Home"] i{ font-size: 13px; }

/* Dropdown chevron — perfectly aligned with text baseline */
.nav-dropdown{ height: 100%; display: inline-flex; align-items: center; }
.nav-dropdown > a .chev{
  font-size: 9px !important;
  margin-left: 6px !important;
  opacity: .55 !important;
  transition: transform .25s ease, opacity .2s ease, color .2s ease;
  position: relative;
  top: 0;
}
.nav-dropdown:hover > a .chev{
  transform: rotate(180deg);
  opacity: 1 !important;
  color: var(--green) !important;
}

/* Right side CTA — refined pill, ink primary */
.nav-cta{
  height: 42px !important;
  padding: 0 22px !important;
  display: inline-flex; align-items: center; gap: 10px;
  white-space: nowrap;
  background: var(--ink) !important;
  color: var(--white) !important;
  border: 1px solid var(--ink) !important;
  border-radius: 999px !important;
  font-weight: 600 !important;
  font-size: 13.5px !important;
  letter-spacing: .02em;
  box-shadow: none !important;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.nav-cta::before{ display: none !important; }
.nav-cta i{ color: currentColor !important; font-size: 11px; }
.nav-cta:hover{
  background: var(--green) !important;
  border-color: var(--green) !important;
  color: var(--white) !important;
  transform: translateY(-1px);
}

/* Dropdown panel — tighten alignment under the trigger */
.nav-dropdown:not(.nav-dropdown-mega) .dropdown-menu{
  margin-top: 0 !important;
  border: 1px solid var(--rule) !important;
  box-shadow: 0 16px 40px -20px rgba(12,14,18,.18) !important;
  border-radius: 4px !important;
}

/* Mega dropdown — align the rail with nav baseline */
.nav-dropdown-mega .dropdown-mega{
  border: 1px solid var(--rule) !important;
  box-shadow: 0 22px 50px -24px rgba(12,14,18,.22) !important;
  border-radius: 4px !important;
}

/* Mobile: stack cleanly, full-width items */
@media (max-width: 980px){
  .nav{ grid-template-columns: 1fr auto; height: 68px !important; }
  .nav-cta{ display: none !important; }
  .nav-burger{ display: flex !important; }
  .nav-links{
    display: none; position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column !important; align-items: stretch !important;
    background: var(--white); border-top: 1px solid var(--rule);
    padding: 8px 16px 16px !important; gap: 0 !important;
  }
  .nav-links.open{ display: flex !important; }
  .nav-links > a,
  .nav-links > .nav-dropdown,
  .nav-links > .nav-dropdown > a{
    width: 100%; height: 48px !important;
    border-bottom: 1px solid var(--rule-2);
    padding: 0 4px !important;
    border-radius: 0 !important;
  }
  .nav-links > a::after,
  .nav-links > .nav-dropdown > a::after{ display: none !important; }
  .nav-links > a[title="Home"]{ width: 100% !important; justify-content: flex-start; padding: 0 4px !important; border-radius: 0 !important; border: none !important; border-bottom: 1px solid var(--rule-2) !important; }
  .nav-links > a[title="Home"] i{ margin-right: 10px; }
  .nav-links > a[title="Home"]::before{ content: "Home"; font-weight: 500; font-size: 14px; }
}

/* ==================================================================
   V7 — PORTFOLIO + SERVICES CARD POLISH
================================================================== */

/* Service cards — keep editorial tone, FA icon on top */
.service-card .card-icon{
  width: 52px; height: 52px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--paper) !important;
  color: var(--green) !important;
  border-radius: 6px;
  font-size: 22px !important;
  margin-bottom: 18px !important;
}
.service-card .card-icon i{ line-height: 1; }
.service-card{ display: flex; flex-direction: column; }
.service-card .tags{ margin-top: auto; padding-top: 18px; }

/* ====== Portfolio editorial grid ====== */
.pf-grid{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 72px 56px;
  border-top: 1px solid var(--rule);
  padding-top: 64px;
}
.pf-item{ display: flex; flex-direction: column; }
.pf-item-feature{
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 56px;
  align-items: center;
  padding-bottom: 64px;
  border-bottom: 1px solid var(--rule);
}
.pf-item-feature .pf-cover{ aspect-ratio: 4/3; }
.pf-item-feature .pf-title{ font-size: 38px; }
.pf-item-feature .pf-desc{ font-size: 16.5px; }

.pf-cover{
  display: block;
  aspect-ratio: 16/10;
  overflow: hidden;
  border-radius: 4px;
  background: var(--rule-2);
  margin-bottom: 24px;
}
.pf-cover img{
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .8s ease;
}
.pf-cover:hover img{ transform: scale(1.04); }

.pf-meta-top{
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 12px;
}
.pf-cat{
  font-size: 11px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold); font-weight: 600;
}
.pf-year{
  font-family: 'Playfair Display', serif;
  font-size: 14px; color: var(--muted);
}
.pf-title{
  font-family: 'Playfair Display', serif;
  font-weight: 600; font-size: 26px; line-height: 1.2;
  color: var(--ink); margin: 4px 0 14px; letter-spacing: -.01em;
}
.pf-desc{
  color: var(--muted); font-size: 15.5px; line-height: 1.65;
  margin: 0 0 22px;
}
.pf-meta-list{
  list-style: none; padding: 0; margin: 0 0 22px;
  border-top: 1px solid var(--rule);
}
.pf-meta-list li{
  display: grid; grid-template-columns: 80px 1fr; gap: 16px;
  padding: 10px 0;
  font-size: 13.5px;
  border-bottom: 1px solid var(--rule-2);
}
.pf-meta-list span{
  color: var(--muted); text-transform: uppercase; letter-spacing: .14em; font-size: 10.5px;
  padding-top: 2px;
}
.pf-meta-list strong{ color: var(--ink); font-weight: 500; }

@media (max-width: 900px){
  .pf-grid{ grid-template-columns: 1fr; gap: 56px; }
  .pf-item-feature{ grid-template-columns: 1fr; gap: 24px; padding-bottom: 48px; }
  .pf-item-feature .pf-title{ font-size: 28px; }
}

/* Hide legacy portfolio-cover overlay chip if anywhere reused */
.portfolio-cover .portfolio-cat,
.portfolio-cover .portfolio-arrow{ display: none !important; }

/* ==================================================================
   V8 — CONTACT PAGE (no form, editorial channel cards)
================================================================== */

/* Topbar tightens up now that CTA is gone */
.topbar-inner{ justify-content: flex-start !important; }
.topbar-info{ display: flex; flex-wrap: wrap; gap: 28px; }

/* Channel cards grid */
.contact-channels{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  border-top: 1px solid var(--rule);
  padding-top: 32px;
}
.cc-card{
  display: grid;
  grid-template-columns: 56px 1fr auto;
  align-items: center;
  gap: 22px;
  padding: 26px 28px;
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: 4px;
  text-decoration: none;
  color: inherit;
  transition: border-color .2s ease, transform .2s ease, box-shadow .25s ease;
}
.cc-card:hover{
  border-color: var(--ink);
  transform: translateY(-2px);
  box-shadow: 0 18px 40px -24px rgba(12,14,18,.18);
}
.cc-card:hover .cc-arrow{ transform: translateX(4px); color: var(--green); }
.cc-icon{
  width: 56px; height: 56px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--paper);
  color: var(--green);
  border-radius: 50%;
  font-size: 22px;
}
.cc-icon-wa{
  background: #25d366;
  color: #fff;
}
.cc-meta{ display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.cc-label{
  font-size: 11px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--muted); font-weight: 600;
}
.cc-meta strong{
  font-family: 'Playfair Display', serif;
  font-weight: 600; font-size: 20px;
  color: var(--ink); letter-spacing: -.005em;
  word-break: break-word;
}
.cc-sub{ font-size: 13px; color: var(--muted); }
.cc-arrow{
  font-size: 14px; color: var(--muted-2);
  transition: transform .2s ease, color .2s ease;
}

/* Office grid */
.contact-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--rule);
}
.contact-block{
  padding: 32px 28px 32px 0;
  border-right: 1px solid var(--rule);
  display: flex; flex-direction: column; gap: 8px;
}
.contact-block:last-child{ border-right: none; padding-right: 0; }
.contact-block:nth-child(n+2){ padding-left: 28px; }
.cb-label{
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold); font-weight: 600;
}
.cb-label i{ font-size: 12px; }
.contact-block strong{
  font-family: 'Playfair Display', serif;
  font-weight: 600; font-size: 22px;
  color: var(--ink); margin-top: 4px;
}
.cb-sub{ color: var(--muted); font-size: 14px; line-height: 1.6; }

@media (max-width: 900px){
  .contact-channels{ grid-template-columns: 1fr; }
  .contact-grid{ grid-template-columns: 1fr 1fr; }
  .contact-block{ padding: 24px 16px !important; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
  .contact-block:nth-child(2n){ border-right: none; }
}
@media (max-width: 540px){
  .cc-card{ grid-template-columns: 48px 1fr; gap: 16px; padding: 20px; }
  .cc-arrow{ display: none; }
  .contact-grid{ grid-template-columns: 1fr; }
  .contact-block{ border-right: none !important; padding: 22px 0 !important; }
}

/* ==================================================================
   V9 — MOBILE OVERHAUL (≤980px)
   Fixes burger visibility + complete responsive layout for phones
================================================================== */

@media (max-width: 980px){

  /* ---------- Topbar: compact + readable ---------- */
  .topbar{ font-size: 11px !important; padding: 6px 0 !important; }
  .topbar-info{ gap: 12px !important; flex-wrap: wrap; }
  .topbar-info span:first-child{ display: none; } /* drop location on tiny screens */

  /* ---------- Header / Nav grid ---------- */
  .site-header{ position: sticky; top: 0; z-index: 100; }
  .nav{
    grid-template-columns: 1fr auto !important;
    height: 64px !important;
    gap: 12px !important;
    padding: 0 16px;
  }
  .brand-logo{ width: 34px !important; height: 34px !important; }
  .brand-name{ font-size: 18px !important; }
  .brand-tag{ font-size: 8.5px !important; }

  /* Hide desktop CTA, show burger */
  .nav-cta{ display: none !important; }
  .nav-burger{
    display: flex !important;
    flex-direction: column;
    gap: 5px;
    width: 44px; height: 44px;
    align-items: center; justify-content: center;
    background: var(--white) !important;
    border: 1px solid var(--rule) !important;
    border-radius: 6px;
    padding: 0 !important;
    cursor: pointer;
    z-index: 105;
  }
  .nav-burger span{
    display: block;
    width: 20px; height: 2px;
    background: var(--ink) !important;
    border-radius: 2px;
    transition: transform .25s ease, opacity .2s ease;
  }
  .nav-links.open ~ .nav-burger span:nth-child(1),
  #navLinks.open + .nav-burger span:nth-child(1){ transform: translateY(7px) rotate(45deg); }

  /* ---------- Mobile slide-down menu ---------- */
  .nav-links{
    display: none !important;
    position: absolute !important;
    top: 64px; left: 0; right: 0;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    background: var(--white) !important;
    border-top: 1px solid var(--rule);
    border-bottom: 1px solid var(--rule);
    box-shadow: 0 18px 40px -20px rgba(12,14,18,.18);
    padding: 8px 16px 20px !important;
    gap: 0 !important;
    height: auto !important;
    max-height: calc(100vh - 64px);
    overflow-y: auto;
  }
  .nav-links.open{ display: flex !important; }

  .nav-links > a,
  .nav-links > .nav-dropdown{
    display: block !important;
    width: 100%;
    height: auto !important;
    border-bottom: 1px solid var(--rule-2, #f0eee9);
    padding: 0 !important;
  }
  .nav-links > a,
  .nav-links > .nav-dropdown > a{
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 52px !important;
    padding: 0 4px !important;
    font-size: 15px !important;
    border-radius: 0 !important;
  }
  .nav-links > a::after,
  .nav-links > .nav-dropdown > a::after{ display: none !important; }

  /* Dropdown panels — stack inline below their trigger */
  .nav-dropdown .dropdown-menu,
  .nav-dropdown-mega .dropdown-mega{
    position: static !important;
    display: none !important;
    width: 100% !important;
    grid-template-columns: 1fr !important;
    box-shadow: none !important;
    border: none !important;
    border-top: 1px solid var(--rule-2, #f0eee9) !important;
    background: var(--paper, #faf8f3) !important;
    padding: 8px 0 12px !important;
    margin: 0 !important;
    border-radius: 0 !important;
  }
  .nav-dropdown.open .dropdown-menu,
  .nav-dropdown.open .dropdown-mega{ display: block !important; }
  .nav-dropdown.open .dropdown-mega{ display: grid !important; }

  .dropdown-mega .dropdown-col{ padding: 8px 12px !important; }
  .dropdown-mega .dropdown-col-title{
    font-size: 10px; letter-spacing: .2em; color: var(--gold);
    text-transform: uppercase; font-weight: 600;
    padding: 8px 0 4px;
  }
  .dropdown-menu a,
  .dropdown-mega a{
    padding: 10px 8px !important;
    font-size: 14px !important;
  }

  /* Chevron rotates when open */
  .nav-dropdown > a .chev{ transition: transform .25s ease; }
  .nav-dropdown.open > a .chev{ transform: rotate(180deg); }

  /* ---------- Container padding ---------- */
  .container{ padding-left: 18px !important; padding-right: 18px !important; }

  /* ---------- Editorial hero ---------- */
  .ed-hero{ padding: 56px 0 40px !important; }
  .ed-display{ font-size: 38px !important; line-height: 1.08 !important; }
  .ed-display br{ display: none; }
  .ed-eyebrow{ font-size: 10.5px !important; }
  .ed-hero-foot{ display: block !important; }
  .ed-lead{ font-size: 15.5px !important; margin-bottom: 22px; }
  .ed-cta-row{ display: flex; flex-wrap: wrap; gap: 10px; }
  .ed-cta-row .btn{ flex: 1 1 auto; justify-content: center; }

  /* ---------- Metrics ---------- */
  .ed-metrics{ display: grid !important; grid-template-columns: repeat(2, 1fr) !important; gap: 0 !important; padding: 0 !important; }
  .ed-metric{ padding: 22px 18px !important; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); text-align: left; }
  .ed-metric:nth-child(2n){ border-right: none; }
  .ed-metric:last-child{ grid-column: 1 / -1; border-right: none; }
  .ed-num{ font-size: 32px !important; }
  .ed-label{ font-size: 11px !important; }

  /* ---------- Section spacing & headings ---------- */
  .ed-section{ padding: 56px 0 !important; }
  .ed-head{ margin-bottom: 36px !important; }
  .ed-head-row{ display: block !important; }
  .ed-head-aside{ margin-top: 12px; font-size: 14px; }
  .ed-h2{ font-size: 26px !important; line-height: 1.2 !important; }
  .ed-kicker{ font-size: 10.5px !important; }

  /* ---------- Featured + work grid ---------- */
  .ed-feature{ display: block !important; }
  .ed-feature-img{ aspect-ratio: 4/3; margin-bottom: 22px; }
  .ed-feature-meta h3{ font-size: 26px !important; }
  .ed-feature-meta p{ font-size: 15px !important; }

  .ed-work-grid{ grid-template-columns: 1fr !important; gap: 36px !important; }
  .ed-work h4{ font-size: 19px !important; }

  /* ---------- Capabilities / Process / Industries ---------- */
  .ed-cap-grid{ grid-template-columns: 1fr !important; gap: 24px !important; }
  .ed-cap{ padding: 24px !important; }
  .ed-leaders{ grid-template-columns: 1fr !important; gap: 24px !important; }
  .ed-leader{ padding: 28px !important; }
  .ed-process{ display: block !important; }
  .ed-step{ padding: 18px 0 !important; border-bottom: 1px solid var(--rule); }
  .ed-step:last-child{ border-bottom: none; }
  .ed-industries{ display: grid !important; grid-template-columns: 1fr 1fr !important; gap: 0 !important; }
  .ed-industries li{ padding: 16px 0 !important; font-size: 15px !important; }
  .ed-quotes{ grid-template-columns: 1fr !important; gap: 24px !important; }
  .ed-quote{ padding: 26px !important; }
  .ed-quote blockquote{ font-size: 17px !important; line-height: 1.5 !important; }
  .ed-faq-item summary{ font-size: 16px !important; padding: 18px 0 !important; }

  /* ---------- CTA band ---------- */
  .ed-cta{ padding: 56px 0 !important; }
  .ed-cta-inner{ display: block !important; text-align: left; }
  .ed-cta-inner .ed-h2{ margin-bottom: 18px; }
  .ed-cta-inner .btn{ margin-top: 20px; }

  /* ---------- Portfolio page ---------- */
  .pf-grid{ grid-template-columns: 1fr !important; gap: 48px !important; padding-top: 40px !important; }
  .pf-item-feature{ grid-template-columns: 1fr !important; gap: 24px !important; padding-bottom: 40px !important; }
  .pf-item-feature .pf-cover{ aspect-ratio: 16/10 !important; }
  .pf-item-feature .pf-title{ font-size: 26px !important; }
  .pf-item-feature .pf-desc{ font-size: 15px !important; }
  .pf-title{ font-size: 22px !important; }
  .pf-desc{ font-size: 14.5px !important; }

  /* ---------- Services page ---------- */
  .grid-3, .grid-4, .grid-5{ grid-template-columns: 1fr !important; gap: 18px !important; }
  .service-card{ padding: 24px !important; }
  .service-card h3{ font-size: 20px !important; line-height: 1.3 !important; }
  .service-card p{ font-size: 15px !important; }
  .service-card .tags{ gap: 6px !important; }
  .service-card .tags span{ font-size: 11px !important; padding: 5px 10px !important; }

  /* Page hero on services / inner pages — tighter on phones */
  .page-hero{ padding: 80px 0 44px !important; }
  .page-hero .display, .page-hero h1{
    font-size: clamp(30px, 8vw, 44px) !important;
    margin: 18px 0 16px !important;
  }
  .page-hero .lead{ font-size: 16px !important; line-height: 1.55 !important; }

  /* Process step cards — readable on mobile */
  .process .step-card{ text-align: left !important; padding: 22px !important; }
  .step-card .step-num, .step-num.grad{ font-size: 26px !important; }
  .step-card h4{ font-size: 18px !important; margin: 8px 0 6px !important; }
  .step-card p{ font-size: 14.5px !important; }

  /* CTA band (services bottom) — must stack on mobile */
  .cta-band{
    grid-template-columns: 1fr !important;
    padding: 32px 24px !important;
    gap: 20px !important;
    text-align: left !important;
  }
  .cta-band h2, .cta-band .h1{ font-size: 24px !important; line-height: 1.25 !important; }
  .cta-band .lead{ font-size: 15px !important; }
  .cta-band .btn{ width: auto !important; align-self: flex-start; }

  /* Section padding tighter on mobile */
  .section, .section-alt{ padding: 56px 0 !important; }
  .section-head{ margin-bottom: 28px !important; }

  /* ---------- Footer ---------- */
  .footer-grid{ grid-template-columns: 1fr 1fr !important; gap: 28px !important; }
  .footer-brand{ grid-column: 1 / -1; }
  .footer-bottom{ flex-direction: column; gap: 8px; text-align: center; font-size: 12px; }

  /* ---------- Buttons ---------- */
  .btn{ padding: 14px 22px !important; font-size: 14px !important; }
}

/* Extra-tight phones */
@media (max-width: 480px){
  .topbar-info a span,
  .topbar-info span:first-child{ display: none; }
  .topbar-info{ gap: 16px !important; justify-content: center; }
  .topbar-info i{ font-size: 13px; }

  .ed-display{ font-size: 32px !important; }
  .ed-h2{ font-size: 22px !important; }
  .ed-feature-meta h3{ font-size: 22px !important; }

  .footer-grid{ grid-template-columns: 1fr !important; }
  .footer-brand{ grid-column: auto; }

  /* Contact channel cards on tiny phones */
  .contact-channels{ grid-template-columns: 1fr !important; }
  .cc-card{ grid-template-columns: 44px 1fr !important; gap: 14px !important; padding: 18px !important; }
  .cc-arrow{ display: none !important; }
  .cc-meta strong{ font-size: 17px !important; }
}

/* ==================================================================
   V10 — SERVICE DETAIL PAGES (/services/<slug>)
================================================================== */

/* Listing card → link variant */
.service-card-link{
  text-decoration: none !important; color: inherit;
  position: relative; transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.service-card-link:hover{
  transform: translateY(-4px);
  border-color: var(--ink) !important;
  box-shadow: 0 14px 40px -22px rgba(15,23,42,.25);
}
.service-card-link .sc-link{
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 16px; font-size: 13px; font-weight: 600;
  color: var(--green) !important; letter-spacing: .02em;
}
.service-card-link .sc-link i{ transition: transform .25s ease; }
.service-card-link:hover .sc-link i{ transform: translateX(4px); }

/* Stack-pair highlight (AI Automation + OSINT — ties to the teaser below the grid) */
.service-card.stack{ position: relative; }
.service-card.stack::before{
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--green));
  border-top-left-radius: inherit;
  border-top-right-radius: inherit;
  pointer-events: none;
}
.service-card .stack-pill{
  position: absolute;
  top: 14px;
  right: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(212,175,55,.16), rgba(20,83,45,.14));
  color: var(--green-2);
  border: 1px solid rgba(212,175,55,.45);
  white-space: nowrap;
  z-index: 1;
}
.service-card .stack-pill i{ font-size: 9px; color: var(--gold); }
@media (max-width: 600px){
  .service-card .stack-pill{ top: 12px; right: 12px; font-size: 10px; padding: 3px 8px; letter-spacing: .06em; }
}

/* ===== HERO ===== */
.sd-hero{
  background: var(--paper-2);
  border-bottom: 1px solid var(--rule);
  padding: 80px 0 80px;
}
.sd-hero-grid{
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-items: center;
}
.sd-back{
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--muted); text-decoration: none;
  margin-bottom: 22px; letter-spacing: .02em;
  transition: color .2s ease;
}
.sd-back:hover{ color: var(--ink); }
.sd-eyebrow{
  display: inline-block; font-size: 12px; letter-spacing: .22em;
  text-transform: uppercase; color: var(--muted);
  padding-bottom: 12px; border-bottom: 1px solid var(--ink);
  margin-bottom: 22px;
}
.sd-title{
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  font-size: clamp(38px, 5.5vw, 64px);
  line-height: 1.05;
  letter-spacing: -.015em;
  color: var(--ink);
  margin: 0 0 18px;
  max-width: 720px;
}
.sd-tagline{
  font-size: 20px; line-height: 1.5;
  color: var(--ink-2);
  margin: 0 0 18px;
  max-width: 620px;
  font-weight: 500;
}
.sd-intro{
  font-size: 16px; line-height: 1.7;
  color: var(--muted);
  margin: 0 0 28px;
  max-width: 620px;
}
.sd-cta-row{
  display: flex; gap: 14px; flex-wrap: wrap;
}
.sd-hero-img{
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  aspect-ratio: 4/3;
  border: 1px solid var(--rule);
}
.sd-hero-img img{
  width: 100%; height: 100%; object-fit: cover;
  display: block;
}
.sd-hero-icon{
  position: absolute; bottom: 20px; left: 20px;
  width: 64px; height: 64px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--white);
  color: var(--green);
  border-radius: 8px;
  font-size: 26px;
  box-shadow: 0 10px 30px -12px rgba(15,23,42,.25);
}

/* ===== SECTION SHELL ===== */
.sd-section{ padding: 90px 0; background: var(--white); }
.sd-section-alt{ background: var(--paper-2); }
.sd-head{ max-width: 820px; margin-bottom: 48px; }
.sd-kicker{
  display: inline-block; font-size: 11px; letter-spacing: .28em;
  text-transform: uppercase; color: var(--muted);
  margin-bottom: 14px;
}
.sd-h2{
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.15;
  letter-spacing: -.01em;
  color: var(--ink);
  margin: 0 0 16px;
}
.sd-lead{
  font-size: 17px; line-height: 1.65;
  color: var(--ink-2);
  margin: 0;
  max-width: 680px;
}

/* ===== DELIVER GRID ===== */
.sd-deliver-grid{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.sd-deliver-card{
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: 6px;
  padding: 32px;
  transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}
.sd-deliver-card:hover{
  border-color: var(--ink);
  transform: translateY(-3px);
  box-shadow: 0 14px 40px -22px rgba(15,23,42,.2);
}
.sd-deliver-icon{
  width: 48px; height: 48px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--paper);
  color: var(--green);
  border-radius: 6px;
  font-size: 20px;
  margin-bottom: 18px;
}
.sd-deliver-card h3{
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  font-size: 22px;
  color: var(--ink);
  margin: 0 0 10px;
}
.sd-deliver-card p{
  font-size: 15px; line-height: 1.65;
  color: var(--muted);
  margin: 0;
}

/* ===== STACK PILLS ===== */
.sd-stack{
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-top: 8px;
}
.sd-stack-pill{
  display: inline-flex; align-items: center;
  padding: 10px 18px;
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: 999px;
  font-size: 13px; font-weight: 500;
  color: var(--ink);
  letter-spacing: .01em;
  transition: border-color .2s ease, color .2s ease;
}
.sd-stack-pill:hover{ border-color: var(--ink); }

/* ===== OUTCOMES ===== */
.sd-outcomes{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.sd-outcome{
  padding: 36px 32px;
  border-right: 1px solid var(--rule);
}
.sd-outcome:last-child{ border-right: none; }
.sd-outcome-num{
  display: block;
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  font-size: 56px;
  line-height: 1;
  color: var(--ink);
  margin-bottom: 12px;
  letter-spacing: -.02em;
}
.sd-outcome-label{
  font-size: 14px; line-height: 1.5;
  color: var(--muted);
}

/* ===== PROCESS ===== */
.sd-process{
  list-style: none; padding: 0; margin: 0;
  border-top: 1px solid var(--rule);
}
.sd-step{
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 32px;
  padding: 32px 0;
  border-bottom: 1px solid var(--rule);
  align-items: start;
}
.sd-step-num{
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  font-size: 36px;
  color: var(--green);
  letter-spacing: -.01em;
}
.sd-step-body h4{
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  font-size: 22px;
  color: var(--ink);
  margin: 0 0 8px;
}
.sd-step-body p{
  font-size: 15.5px; line-height: 1.65;
  color: var(--muted);
  margin: 0;
  max-width: 720px;
}

/* ===== FAQs ===== */
.sd-faq-wrap{ max-width: 920px; }
.sd-faqs{
  border-top: 1px solid var(--rule);
}
.sd-faq{
  border-bottom: 1px solid var(--rule);
  padding: 6px 0;
}
.sd-faq summary{
  list-style: none;
  cursor: pointer;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
  font-size: 17px; font-weight: 500;
  color: var(--ink);
  letter-spacing: -.005em;
}
.sd-faq summary::-webkit-details-marker{ display: none; }
.sd-faq-ico{
  font-size: 14px; color: var(--muted);
  transition: transform .25s ease;
}
.sd-faq[open] .sd-faq-ico{ transform: rotate(45deg); color: var(--ink); }
.sd-faq-body{
  padding: 0 0 22px;
}
.sd-faq-body p{
  font-size: 15.5px; line-height: 1.7;
  color: var(--muted);
  margin: 0;
  max-width: 760px;
}

/* ===== RELATED ===== */
.sd-related{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.sd-related-card{
  display: block; text-decoration: none; color: inherit;
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: 6px;
  padding: 28px;
  transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}
.sd-related-card:hover{
  border-color: var(--ink);
  transform: translateY(-3px);
  box-shadow: 0 14px 40px -22px rgba(15,23,42,.2);
}
.sd-related-icon{
  width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--paper);
  color: var(--green);
  border-radius: 6px;
  font-size: 18px;
  margin-bottom: 14px;
}
.sd-related-card h4{
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  font-size: 19px;
  color: var(--ink);
  margin: 0 0 8px;
}
.sd-related-card p{
  font-size: 14.5px; line-height: 1.6;
  color: var(--muted);
  margin: 0 0 16px;
}
.sd-related-link{
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600;
  color: var(--green);
  letter-spacing: .02em;
}
.sd-related-link i{ transition: transform .25s ease; }
.sd-related-card:hover .sd-related-link i{ transform: translateX(4px); }

/* ===== CTA BAND ===== */
.sd-cta{
  background: var(--ink);
  padding: 72px 0;
}
.sd-cta-inner{
  display: grid;
  grid-template-columns: 1.4fr auto;
  gap: 32px;
  align-items: center;
}
.sd-cta .on-dark{ color: var(--white) !important; }
.sd-cta .sd-h2.on-dark{ color: var(--white) !important; }
.sd-cta .sd-lead.on-dark{ color: rgba(255,255,255,.7) !important; max-width: 620px; }
.sd-cta .sd-kicker.on-dark{ color: rgba(255,255,255,.55) !important; }
.sd-cta-actions{
  display: flex; gap: 12px; flex-wrap: wrap;
}
.sd-cta .btn-ghost.on-dark{
  background: transparent;
  color: var(--white) !important;
  border: 1px solid rgba(255,255,255,.25) !important;
}
.sd-cta .btn-ghost.on-dark:hover{ border-color: var(--white) !important; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px){
  .sd-hero-grid{ grid-template-columns: 1fr; gap: 40px; }
  .sd-hero-img{ aspect-ratio: 16/10; max-width: 720px; }
  .sd-deliver-grid{ grid-template-columns: 1fr 1fr; }
  .sd-related{ grid-template-columns: 1fr 1fr; }
  .sd-outcomes{ grid-template-columns: 1fr; }
  .sd-outcome{ border-right: none; border-bottom: 1px solid var(--rule); }
  .sd-outcome:last-child{ border-bottom: none; }
}

@media (max-width: 720px){
  .sd-hero{ padding: 56px 0 56px; }
  .sd-section{ padding: 56px 0 !important; }
  .sd-head{ margin-bottom: 32px; }
  .sd-title{ font-size: clamp(30px, 8vw, 42px) !important; }
  .sd-tagline{ font-size: 17px; }
  .sd-intro{ font-size: 15px; }
  .sd-h2{ font-size: clamp(24px, 6vw, 32px) !important; }

  .sd-deliver-grid{ grid-template-columns: 1fr !important; gap: 16px; }
  .sd-deliver-card{ padding: 24px; }
  .sd-deliver-card h3{ font-size: 19px; }

  .sd-related{ grid-template-columns: 1fr !important; gap: 16px; }
  .sd-related-card{ padding: 22px; }

  .sd-step{ grid-template-columns: 1fr; gap: 6px; padding: 24px 0; }
  .sd-step-num{ font-size: 26px; }
  .sd-step-body h4{ font-size: 19px; }

  .sd-outcome{ padding: 28px 22px; }
  .sd-outcome-num{ font-size: 44px; }

  .sd-faq summary{ font-size: 15.5px; padding: 18px 0; gap: 16px; }

  .sd-hero-icon{ width: 52px; height: 52px; font-size: 22px; bottom: 14px; left: 14px; }

  .sd-cta{ padding: 48px 0; }
  .sd-cta-inner{ grid-template-columns: 1fr; gap: 22px; }
  .sd-cta-actions{ flex-direction: column; align-items: flex-start; }
  .sd-cta-actions .btn{ width: 100%; justify-content: center; }
}

/* V11 — Footer socials with real icons (WhatsApp / Email / Phone / LinkedIn) */
.socials a i{
  font-size: 15px;
  line-height: 1;
}
.socials a{ text-transform: none !important; }
.socials a[aria-label="WhatsApp"]:hover{ color: #25D366 !important; border-color: #25D366 !important; }
.socials a[aria-label="Email"]:hover    { color: var(--gold) !important; border-color: var(--gold) !important; }
.socials a[aria-label="Phone"]:hover    { color: var(--green) !important; border-color: var(--green) !important; }
.socials a[aria-label="LinkedIn"]:hover { color: #0A66C2 !important; border-color: #0A66C2 !important; }

/* ==================================================================
   V12 — AI + OSINT combined-capability architecture flow
================================================================== */
.sd-flow{
  display: grid;
  grid-template-columns: repeat(13, auto);
  grid-auto-flow: column;
  align-items: stretch;
  gap: 0;
  border: 1px solid var(--rule);
  border-radius: 8px;
  background: var(--white);
  padding: 28px 18px;
  overflow-x: auto;
}
.sd-flow-node{
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 14px 14px;
  min-width: 130px; max-width: 160px;
}
.sd-flow-icon{
  width: 52px; height: 52px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--paper);
  color: var(--green);
  border-radius: 8px;
  font-size: 22px;
  margin-bottom: 12px;
  border: 1px solid var(--rule);
}
.sd-flow-title{
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
  margin-bottom: 6px;
  line-height: 1.2;
  letter-spacing: -.005em;
}
.sd-flow-desc{
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.45;
}
.sd-flow-arrow{
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  font-size: 16px;
  padding: 0 4px;
  align-self: center;
}

/* Special accent for the OSINT and AI nodes — the two halves of the story */
.sd-flow-node-2 .sd-flow-icon{
  background: rgba(34,139,34,.08);
  border-color: rgba(34,139,34,.25);
}
.sd-flow-node-4 .sd-flow-icon{
  background: rgba(212,175,55,.10);
  border-color: rgba(212,175,55,.35);
  color: var(--gold);
}

.sd-flow-legend{
  display: flex; flex-wrap: wrap; gap: 14px 28px;
  margin-top: 22px;
  padding: 18px 22px;
  border: 1px dashed var(--rule);
  border-radius: 6px;
  background: var(--paper-2);
  font-size: 13.5px;
  color: var(--ink-2);
}
.sd-flow-legend strong{ color: var(--ink); font-weight: 600; }

/* Tablet — wrap into two rows visually by allowing scroll */
@media (max-width: 1100px){
  .sd-flow{ padding: 22px 14px; }
  .sd-flow-node{ min-width: 120px; padding: 12px 10px; }
  .sd-flow-icon{ width: 46px; height: 46px; font-size: 19px; }
  .sd-flow-title{ font-size: 14px; }
  .sd-flow-desc{ font-size: 12px; }
}

/* Mobile — switch to vertical stack with down arrows */
@media (max-width: 720px){
  .sd-flow{
    grid-auto-flow: row;
    grid-template-columns: 1fr;
    padding: 14px;
    overflow-x: visible;
  }
  .sd-flow-node{
    flex-direction: row;
    text-align: left;
    align-items: center;
    max-width: 100%;
    width: 100%;
    gap: 16px;
    padding: 14px 8px;
    border-bottom: 1px solid var(--rule-2);
  }
  .sd-flow-node:last-of-type{ border-bottom: none; }
  .sd-flow-icon{ margin-bottom: 0; flex-shrink: 0; }
  .sd-flow-title{ margin-bottom: 2px; font-size: 15px; }
  .sd-flow-desc{ font-size: 13px; }
  .sd-flow-arrow{
    display: none;
  }
  .sd-flow-legend{ font-size: 13px; gap: 10px 18px; padding: 14px 16px; }
}

/* Services index — keep 13 cards balanced (3-col still works; last row has 1) */
@media (min-width: 981px){
  .grid-3{ grid-template-columns: repeat(3, 1fr); }
}

/* V12.1 — OSINT ethics & compliance grid */
.sd-ethics-grid{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.sd-ethics-card{
  background: var(--white);
  border: 1px solid var(--rule);
  border-left: 3px solid var(--green);
  border-radius: 6px;
  padding: 26px 28px;
}
.sd-ethics-icon{
  width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--paper);
  color: var(--green);
  border-radius: 6px;
  font-size: 17px;
  margin-bottom: 14px;
}
.sd-ethics-card h4{
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  font-size: 18px;
  color: var(--ink);
  margin: 0 0 8px;
  letter-spacing: -.005em;
}
.sd-ethics-card p{
  font-size: 14.5px; line-height: 1.6;
  color: var(--muted);
  margin: 0;
}
@media (max-width: 720px){
  .sd-ethics-grid{ grid-template-columns: 1fr; gap: 14px; }
  .sd-ethics-card{ padding: 22px 22px; }
}

/* ==================================================================
   V13 — Homepage AI + OSINT spotlight section
================================================================== */
.ed-spotlight{
  position: relative;
}
.ed-spot-flow{
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  margin: 36px 0 32px;
  padding: 28px 22px;
  border: 1px solid var(--rule);
  border-radius: 10px;
  background: var(--white);
  overflow-x: auto;
}
.ed-spot-node{
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
  min-width: 96px;
  padding: 6px 4px;
  flex-shrink: 0;
}
.ed-spot-icon{
  width: 56px; height: 56px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--paper);
  color: var(--ink-2);
  border: 1px solid var(--rule);
  border-radius: 10px;
  font-size: 22px;
  margin-bottom: 10px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.ed-spot-node:hover .ed-spot-icon{
  transform: translateY(-2px);
  box-shadow: 0 10px 24px -16px rgba(15,23,42,.25);
}
.ed-spot-label{
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: -.005em;
  color: var(--ink);
}
/* Highlight the OSINT and AI nodes — the two halves of the story */
.ed-spot-tone-green .ed-spot-icon{
  background: rgba(34,139,34,.10);
  border-color: rgba(34,139,34,.32);
  color: var(--green);
}
.ed-spot-tone-gold .ed-spot-icon{
  background: rgba(212,175,55,.12);
  border-color: rgba(212,175,55,.42);
  color: var(--gold);
}
.ed-spot-arrow{
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  font-size: 14px;
  flex-shrink: 0;
  padding: 0 2px;
  margin-bottom: 24px;
  opacity: .8;
}
.ed-spot-cta{
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}

/* Tablet */
@media (max-width: 1024px){
  .ed-spot-flow{ padding: 22px 14px; }
  .ed-spot-icon{ width: 48px; height: 48px; font-size: 19px; }
  .ed-spot-label{ font-size: 13px; }
  .ed-spot-node{ min-width: 84px; }
}

/* Mobile — vertical stack */
@media (max-width: 720px){
  .ed-spot-flow{
    flex-direction: column;
    align-items: stretch;
    overflow-x: visible;
    padding: 14px;
    gap: 0;
  }
  .ed-spot-node{
    flex-direction: row;
    align-items: center;
    text-align: left;
    width: 100%;
    min-width: 0;
    gap: 14px;
    padding: 12px 8px;
    border-bottom: 1px solid var(--rule-2, var(--rule));
  }
  .ed-spot-node:last-of-type{ border-bottom: none; }
  .ed-spot-icon{ margin-bottom: 0; flex-shrink: 0; }
  .ed-spot-arrow{ display: none; }
  .ed-spot-cta{ flex-direction: column; align-items: stretch; }
  .ed-spot-cta .btn{ width: 100%; justify-content: center; }
}

/* ============================================================
   V13.1 — Homepage AI + OSINT case-study cards (Spotlight proof)
   ============================================================ */
.ed-cases{
  margin: 8px 0 32px;
}
.ed-cases-head{
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 22px;
  max-width: 720px;
}
.ed-cases-intro{
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}
.ed-cases-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.ed-case{
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 26px 24px 22px;
  background: var(--white);
  border: 1px solid var(--rule);
  border-top: 3px solid var(--gold);
  border-radius: 10px;
  text-decoration: none;
  color: inherit;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.ed-case:hover{
  transform: translateY(-3px);
  box-shadow: 0 18px 40px -22px rgba(15, 23, 42, .22);
  border-color: var(--rule-2);
  border-top-color: var(--green);
}
.ed-case-industry{
  font-size: 10.5px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}
.ed-case-title{
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  font-size: 19px;
  line-height: 1.3;
  margin: 0;
  color: var(--ink);
  letter-spacing: -.005em;
}
.ed-case-problem{
  margin: 0;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--muted);
}
.ed-case-stack{
  list-style: none;
  margin: 4px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ed-case-chip{
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--ink-2);
  background: var(--paper);
  border: 1px solid var(--rule);
}
.ed-case-chip i{
  font-size: 13px;
  margin-top: 2px;
  flex-shrink: 0;
}
.ed-case-chip strong{
  font-weight: 700;
  margin-right: 2px;
}
.ed-case-chip-osint{
  background: rgba(34, 139, 34, .07);
  border-color: rgba(34, 139, 34, .22);
}
.ed-case-chip-osint i{ color: var(--green); }
.ed-case-chip-ai{
  background: rgba(212, 175, 55, .09);
  border-color: rgba(212, 175, 55, .32);
}
.ed-case-chip-ai i{ color: var(--gold); }
.ed-case-foot{
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--rule-2, var(--rule));
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
}
.ed-case-metric{
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.ed-case-metric-num{
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  font-size: 30px;
  line-height: 1;
  color: var(--gold);
  letter-spacing: -.01em;
}
.ed-case-metric-label{
  font-size: 11.5px;
  line-height: 1.35;
  color: var(--muted);
  max-width: 18ch;
}
.ed-case-cta{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: .02em;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
  flex-shrink: 0;
  transition: gap .2s ease, color .2s ease, border-color .2s ease;
}
.ed-case-cta .fa{ font-size: 10px; }
.ed-case:hover .ed-case-cta{
  gap: 12px;
  color: var(--green);
  border-color: var(--green);
}

/* Tablet — collapse to 2 columns */
@media (max-width: 980px){
  .ed-cases-grid{ grid-template-columns: repeat(2, 1fr); gap: 18px; }
}

/* Mobile — single column */
@media (max-width: 640px){
  .ed-cases-grid{ grid-template-columns: 1fr; gap: 16px; }
  .ed-case{ padding: 22px 20px 20px; }
  .ed-case-title{ font-size: 18px; }
  .ed-case-metric-num{ font-size: 26px; }
  .ed-case-foot{ flex-wrap: wrap; }
}

/* ============================================================
   V14 — AI Chatbot Widget (AI Automation page)
   ============================================================ */
.afrx-chat-bubble{
  position: fixed; right: 24px; bottom: 24px; z-index: 9999;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 20px 14px 18px;
  border: 0; border-radius: 999px; cursor: pointer;
  background: linear-gradient(135deg, #1f6e3a 0%, #2e8b4f 100%);
  color: #fff; font: 600 14px/1 'Inter', sans-serif;
  letter-spacing: .02em;
  box-shadow: 0 14px 36px rgba(31, 110, 58, .35), 0 4px 10px rgba(0,0,0,.15);
  transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease;
}
.afrx-chat-bubble:hover{ transform: translateY(-2px); box-shadow: 0 18px 44px rgba(31, 110, 58, .45), 0 6px 14px rgba(0,0,0,.18); }
.afrx-chat-bubble i{ font-size: 18px; }
.afrx-chat-bubble.is-open{ opacity: 0; pointer-events: none; transform: scale(.85); }

.afrx-chat-panel{
  position: fixed; right: 24px; bottom: 24px; z-index: 10000;
  width: 380px; max-width: calc(100vw - 32px);
  height: 560px; max-height: calc(100vh - 48px);
  display: none; flex-direction: column;
  background: #fff; color: #1a1a1a;
  border: 1px solid #e6e6e6; border-radius: 18px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .22), 0 8px 20px rgba(0,0,0,.08);
  overflow: hidden;
  font-family: 'Inter', sans-serif;
}
.afrx-chat-panel.is-open{ display: flex; animation: afrxChatIn .22s ease-out; }
@keyframes afrxChatIn{
  from{ opacity: 0; transform: translateY(8px) scale(.98); }
  to  { opacity: 1; transform: translateY(0)   scale(1); }
}

.afrx-chat-head{
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding: 14px 16px;
  background: linear-gradient(135deg, #1f6e3a 0%, #2e8b4f 100%);
  color: #fff;
}
.afrx-chat-head-meta{ display: flex; align-items: center; gap: 12px; min-width: 0; }
.afrx-chat-head-meta strong{ display: block; font-size: 15px; font-weight: 700; }
.afrx-chat-head-sub{ display: block; font-size: 11.5px; opacity: .85; margin-top: 2px; letter-spacing: .02em; }
.afrx-chat-avatar{
  width: 38px; height: 38px; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.25);
  border-radius: 12px; color: #f7c948; font-size: 16px;
}
.afrx-chat-close{
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2);
  color: #fff; width: 32px; height: 32px; border-radius: 10px;
  cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
  transition: background .15s ease;
}
.afrx-chat-close:hover{ background: rgba(255,255,255,.22); }

.afrx-chat-disclaimer{
  padding: 8px 14px; font-size: 11.5px; color: #6b5400;
  background: #fff8d6; border-bottom: 1px solid #f1e2a3;
  text-align: center; line-height: 1.4;
}

.afrx-chat-thread{
  flex: 1; overflow-y: auto; padding: 14px;
  display: flex; flex-direction: column; gap: 10px;
  background: #f7f7f5;
  scrollbar-width: thin; scrollbar-color: #c8c8c8 transparent;
}
.afrx-chat-thread::-webkit-scrollbar{ width: 6px; }
.afrx-chat-thread::-webkit-scrollbar-thumb{ background: #cfcfcf; border-radius: 4px; }

.afrx-chat-msg{
  max-width: 85%;
  padding: 10px 13px; border-radius: 14px;
  font-size: 13.5px; line-height: 1.5;
  word-wrap: break-word; overflow-wrap: anywhere;
  border: 1px solid transparent;
}
.afrx-chat-msg p{ margin: 0; }
.afrx-chat-msg p + p{ margin-top: 6px; }
.afrx-chat-msg-user{
  align-self: flex-end;
  background: #1f6e3a; color: #fff;
  border-bottom-right-radius: 4px;
}
.afrx-chat-msg-assistant{
  align-self: flex-start;
  background: #fff; color: #1a1a1a;
  border-color: #e6e6e6;
  border-bottom-left-radius: 4px;
}
.afrx-chat-typing{ display: inline-flex; gap: 4px; align-items: center; padding: 12px 14px; }
.afrx-chat-typing span{
  width: 6px; height: 6px; border-radius: 50%; background: #b2b2b2;
  animation: afrxBlink 1.2s infinite ease-in-out;
}
.afrx-chat-typing span:nth-child(2){ animation-delay: .15s; }
.afrx-chat-typing span:nth-child(3){ animation-delay: .3s; }
@keyframes afrxBlink{
  0%, 80%, 100%{ opacity: .25; transform: scale(.85); }
  40%          { opacity: 1;   transform: scale(1); }
}

.afrx-chat-form{
  display: flex; align-items: flex-end; gap: 8px;
  padding: 10px 12px; border-top: 1px solid #ececec;
  background: #fff;
}
.afrx-chat-input{
  flex: 1; resize: none;
  border: 1px solid #d9d9d9; border-radius: 12px;
  padding: 9px 12px; font: 400 13.5px/1.4 'Inter', sans-serif;
  color: #1a1a1a; background: #f7f7f5;
  max-height: 120px; min-height: 38px;
  outline: none; transition: border-color .15s ease, background .15s ease;
}
.afrx-chat-input:focus{ border-color: #1f6e3a; background: #fff; }
.afrx-chat-send{
  width: 38px; height: 38px; flex-shrink: 0;
  border: 0; border-radius: 12px; cursor: pointer;
  background: linear-gradient(135deg, #d4af37 0%, #f7c948 100%);
  color: #1a1a1a; display: inline-flex; align-items: center; justify-content: center;
  transition: transform .12s ease, box-shadow .15s ease;
  box-shadow: 0 4px 12px rgba(212, 175, 55, .3);
}
.afrx-chat-send:hover{ transform: translateY(-1px); box-shadow: 0 6px 16px rgba(212, 175, 55, .42); }
.afrx-chat-send:active{ transform: translateY(0); }

.afrx-chat-foot{
  padding: 8px 14px 10px; font-size: 11px; color: #6b6b6b;
  text-align: center; background: #fafafa; border-top: 1px solid #f0f0f0;
}
.afrx-chat-foot a{ color: #1f6e3a; text-decoration: none; font-weight: 600; }
.afrx-chat-foot a:hover{ text-decoration: underline; }

@media (max-width: 480px){
  .afrx-chat-bubble{ right: 14px; bottom: 14px; padding: 12px 16px; }
  .afrx-chat-bubble-label{ display: none; }
  .afrx-chat-panel{
    right: 8px; left: 8px; bottom: 8px;
    width: auto; max-width: none;
    height: calc(100vh - 16px); max-height: calc(100vh - 16px);
    border-radius: 14px;
  }
}

/* ============================================================
   OSINT Live Market Pulse · widget styling
   Lives inside .sd-section (light theme palette).
   ============================================================ */

.sd-pulse-section{
  background:
    linear-gradient(180deg, var(--white) 0%, var(--paper-2) 100%);
  position: relative;
}

.sd-pulse-head{
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 24px;
  max-width: none;
}

.sd-pulse-meta{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: 999px;
  font-size: 13px;
  color: var(--ink-2, var(--ink));
  white-space: nowrap;
}
.sd-pulse-status strong{ color: var(--ink); font-weight: 600; }

.sd-pulse-dot{
  width: 9px; height: 9px; border-radius: 50%;
  background: #16a34a;
  box-shadow: 0 0 0 0 rgba(22,163,74,.55);
  animation: sd-pulse-dot 2.2s ease-out infinite;
}
@keyframes sd-pulse-dot{
  0%   { box-shadow: 0 0 0 0 rgba(22,163,74,.55); }
  70%  { box-shadow: 0 0 0 12px rgba(22,163,74,0); }
  100% { box-shadow: 0 0 0 0 rgba(22,163,74,0); }
}

.sd-pulse-grid{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin-top: 8px;
}

.sd-pulse-card{
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: 10px;
  overflow: hidden;
  transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}
.sd-pulse-card:hover{
  border-color: var(--ink);
  transform: translateY(-2px);
  box-shadow: 0 14px 40px -22px rgba(15,23,42,.18);
}

.sd-pulse-card > header{
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--rule-2, var(--rule));
  background: var(--paper, #faf8f3);
}
.sd-pulse-src-icon{
  width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--rule);
  border-radius: 8px;
  font-size: 16px;
}
.sd-pulse-card header strong{
  display: block;
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  font-size: 17px;
  color: var(--ink);
  line-height: 1.2;
}
.sd-pulse-card header em{
  display: block;
  font-style: normal;
  font-size: 12px;
  color: var(--muted, var(--ink-soft));
  margin-top: 2px;
  letter-spacing: .02em;
}
.sd-pulse-src-home{
  color: var(--ink-soft, var(--muted));
  width: 32px; height: 32px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 6px;
  transition: color .2s ease, background .2s ease;
}
.sd-pulse-src-home:hover{ color: var(--ink); background: var(--rule-2, var(--rule)); }

.sd-pulse-card ul{
  list-style: none;
  margin: 0;
  padding: 6px 0;
  flex: 1 1 auto;
}
.sd-pulse-card li{
  border-bottom: 1px solid var(--rule-2, var(--rule));
}
.sd-pulse-card li:last-child{ border-bottom: 0; }
.sd-pulse-card li > a{
  display: block;
  padding: 12px 18px;
  color: var(--ink);
  transition: background .15s ease;
}
.sd-pulse-card li > a:hover{
  background: var(--paper-2, #faf8f3);
  color: var(--ink);
}
.sd-pulse-title{
  display: block;
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1.45;
  color: var(--ink);
}
.sd-pulse-meta-line{
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: var(--muted, var(--ink-soft));
  letter-spacing: .01em;
}
.sd-pulse-empty,
.sd-pulse-empty-li{
  padding: 20px;
  text-align: center;
  color: var(--muted, var(--ink-soft));
  font-size: 14px;
}

.sd-pulse-card > footer{
  padding: 10px 18px;
  border-top: 1px solid var(--rule-2, var(--rule));
  font-size: 11px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--muted, var(--ink-soft));
  background: var(--white);
}

/* ----- skeleton ----- */
.sd-pulse-skeleton header strong,
.sd-pulse-skeleton header em{ color: transparent; background: var(--rule-2, var(--rule)); border-radius: 4px; height: 12px; }
.sd-pulse-skeleton header strong{ width: 60%; height: 14px; margin-bottom: 6px; }
.sd-pulse-skeleton header em{ width: 40%; }
.sd-pulse-skeleton ul li{ padding: 14px 18px; }
.sd-pulse-bar{
  display: block;
  height: 12px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--rule-2, #efece6) 0%, var(--rule, #e7e5e0) 50%, var(--rule-2, #efece6) 100%);
  background-size: 200% 100%;
  animation: sd-pulse-shimmer 1.4s linear infinite;
  width: 90%;
}
.sd-pulse-skeleton li:nth-child(2) .sd-pulse-bar{ width: 70%; }
.sd-pulse-skeleton li:nth-child(3) .sd-pulse-bar{ width: 80%; }
.sd-pulse-skeleton li:nth-child(4) .sd-pulse-bar{ width: 65%; }
@keyframes sd-pulse-shimmer{
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ----- footer (disclosure + actions) ----- */
.sd-pulse-foot{
  margin-top: 28px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: 10px;
}
.sd-pulse-disclosure{
  display: flex;
  gap: 14px;
  align-items: flex-start;
  color: var(--ink-2, var(--ink));
}
.sd-pulse-disclosure i{
  flex: 0 0 auto;
  color: var(--green, #14532d);
  font-size: 18px;
  margin-top: 2px;
}
.sd-pulse-disclosure p{
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-soft, var(--muted));
}
.sd-pulse-disclosure p strong{ color: var(--ink); }
.sd-pulse-disclosure p a{
  color: var(--ink);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--rule);
}
.sd-pulse-disclosure p a:hover{ text-decoration-color: var(--ink); }

.sd-pulse-actions{
  display: inline-flex;
  gap: 10px;
  flex-shrink: 0;
}
.sd-pulse-btn{
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--rule);
  background: var(--white);
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease, color .2s ease;
}
.sd-pulse-btn:hover{ border-color: var(--ink); }
.sd-pulse-btn-primary{
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}
.sd-pulse-btn-primary:hover{ background: #000; border-color: #000; color: var(--white); }

@media (max-width: 900px){
  .sd-pulse-head{ grid-template-columns: 1fr; }
  .sd-pulse-grid{ grid-template-columns: 1fr; gap: 16px; }
  .sd-pulse-foot{ grid-template-columns: 1fr; }
  .sd-pulse-actions{ width: 100%; }
  .sd-pulse-actions .sd-pulse-btn{ flex: 1 1 auto; justify-content: center; }
}
