/* A-network Technologies — Premium Brand Styles */
:root {
  --black: #0A0A0A;
  --charcoal: #161616;
  --charcoal-2: #1c1c1c;
  --gold: #D4AF37;
  --gold-soft: #e6c558;
  --white: #F5F5F5;
  --muted: #9a9a9a;
  --glow: rgba(212, 175, 55, 0.30);
  --glow-strong: rgba(212, 175, 55, 0.55);
  --border: rgba(212, 175, 55, 0.18);
  --border-soft: rgba(255, 255, 255, 0.06);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
h1, h2, h3, h4, h5 {
  font-family: 'Sora', 'Poppins', Inter, sans-serif;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0;
}
p { color: #cfcfcf; line-height: 1.7; margin: 0; }
a { color: inherit; text-decoration: none; }

/* Ambient background — subtle premium motion */
.bg-ambient {
  position: fixed; inset: 0; z-index: -2;
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(212,175,55,0.10), transparent 60%),
    radial-gradient(900px 500px at -10% 30%, rgba(212,175,55,0.07), transparent 60%),
    radial-gradient(700px 500px at 50% 110%, rgba(212,175,55,0.06), transparent 60%),
    linear-gradient(180deg, #0a0a0a, #0a0a0a 40%, #0c0c0c);
}
.bg-grid {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(rgba(212,175,55,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212,175,55,0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 50% 0%, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 0%, black 30%, transparent 75%);
}

/* Layout */
.container-x { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.section { padding: 110px 0; position: relative; }
.section-tight { padding: 80px 0; }

/* Navbar */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  transition: background .4s ease, backdrop-filter .4s ease, border-color .4s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(10,10,10,0.7);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom-color: var(--border-soft);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;

  min-height: 78px;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 38px; height: 38px; border-radius: 10px; object-fit: cover; box-shadow: 0 0 0 1px var(--border), 0 8px 30px var(--glow); background: #fff; }
.brand-name { font-family: 'Sora', sans-serif; font-weight: 600; letter-spacing: .02em; font-size: 15px; }
.brand-name span { color: var(--gold); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
}
.nav-links a {
  font-size: 14px; color: #c8c8c8; position: relative; padding: 6px 0;
  transition: color .25s ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-links a.active::after, .nav-links a:hover::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.nav-cta { padding: 10px 18px; font-size: 13px; }
.nav-toggle {
  display: none; width: 42px; height: 42px; border-radius: 10px;
  background: rgba(255,255,255,0.04); border: 1px solid var(--border-soft);
  align-items: center; justify-content: center; cursor: pointer;
  transition: background .25s ease, border-color .25s ease;
  position: relative;
}
.nav-toggle:hover { background: rgba(212,175,55,0.08); border-color: var(--border); }
.nav-toggle span { display: block; width: 18px; height: 1.5px; background: var(--white); position: relative; transition: background .2s ease, transform .3s ease; }
.nav-toggle span::before, .nav-toggle span::after {
  content: ''; position: absolute; left: 0; right: 0; height: 1.5px; background: var(--white);
  transition: transform .3s ease, top .25s ease .05s;
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
/* Animated X when open */
.nav-toggle.is-open { background: rgba(212,175,55,0.12); border-color: var(--border); }
.nav-toggle.is-open span { background: transparent; }
.nav-toggle.is-open span::before { top: 0; transform: rotate(45deg); }
.nav-toggle.is-open span::after { top: 0; transform: rotate(-45deg); }

/* Body scroll lock when mobile menu is open */
body.nav-locked { overflow: hidden; }

/* @media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: absolute; top: 72px; left: 16px; right: 16px;
    flex-direction: column; align-items: stretch; gap: 6px;
    padding: 16px; border-radius: 16px;
    background: rgba(15,15,15,0.96);
    border: 1px solid var(--border-soft);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    transform-origin: top right; transform: scale(.96) translateY(-6px); opacity: 0; pointer-events: none;
    transition: opacity .22s ease, transform .22s ease;
    max-height: calc(100vh - 88px); overflow-y: auto;
  }
  .nav-links.open { opacity: 1; transform: scale(1) translateY(0); pointer-events: auto; }
  .nav-links a { padding: 12px 14px; border-radius: 10px; font-size: 15px; }
  .nav-links a:hover, .nav-links a.active { background: rgba(212,175,55,0.08); color: var(--white); }
  .nav-links a.active::after, .nav-links a:hover::after { display: none; }
  .nav-links .nav-cta { margin-top: 8px; text-align: center; justify-content: center; }
  .nav-cta.desktop-only { display: none; }
} */

@media (max-width: 900px) {

  .nav-toggle {
    display: inline-flex;
    flex-shrink: 0;
  }

  .nav-inner {
    min-height: 72px;
  }

  .brand {
    gap: 10px;
    max-width: calc(100% - 70px);
  }

  .brand img {
    width: 38px;
    height: 38px;
  }

  .brand-name {
    font-size: 13px;
    line-height: 1.1;
  }

  .nav-links {
    position: fixed;

    top: 78px;
    left: 16px;
    right: 16px;

    flex-direction: column;
    align-items: stretch;

    gap: 8px;

    padding: 18px;

    border-radius: 22px;

    background: rgba(10,10,10,0.96);

    border: 1px solid rgba(255,255,255,0.06);

    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);

    box-shadow:
      0 20px 60px rgba(0,0,0,0.55),
      0 0 0 1px rgba(212,175,55,0.08);

    transform-origin: top right;
    transform: scale(.96) translateY(-8px);

    opacity: 0;
    pointer-events: none;

    transition:
      opacity .25s ease,
      transform .25s ease;

    max-height: calc(100vh - 100px);
    overflow-y: auto;
  }

  .nav-links.open {
    opacity: 1;
    transform: scale(1) translateY(0);
    pointer-events: auto;
  }

  .nav-links a {
    padding: 14px 16px;
    border-radius: 14px;
    font-size: 15px;
  }

  .nav-links a:hover,
  .nav-links a.active {
    background: rgba(212,175,55,0.08);
    color: var(--white);
  }

  .nav-links a.active::after,
  .nav-links a:hover::after {
    display: none;
  }

  .nav-links .nav-cta {
    margin-top: 10px;

    width: 100%;
    height: 52px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 16px;
  }

  .nav-cta.desktop-only {
    display: none;
  }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border-radius: 999px; font-weight: 500; font-size: 14px; letter-spacing: .01em; cursor: pointer; transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease, border-color .25s ease; border: 1px solid transparent; }
.btn-primary { background: linear-gradient(135deg, var(--gold), #b8902a); color: #0a0a0a; box-shadow: 0 10px 30px var(--glow); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px var(--glow-strong); }
.btn-ghost { background: rgba(255,255,255,0.03); color: var(--white); border-color: var(--border-soft); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn-outline { color: var(--gold); border-color: var(--border); background: transparent; }
.btn-outline:hover { background: rgba(212,175,55,0.08); }
.btn .arrow { transition: transform .25s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* Eyebrow */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold); padding: 8px 14px; border-radius: 999px;
  border: 1px solid var(--border); background: rgba(212,175,55,0.06);
}
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 14px var(--gold); }

/* Headings */
.h-display { font-size: clamp(40px, 6vw, 76px); line-height: 1.05; letter-spacing: -0.03em; font-weight: 700; }
.h-1 { font-size: clamp(34px, 4.4vw, 54px); line-height: 1.1; font-weight: 700; }
.h-2 { font-size: clamp(26px, 2.6vw, 36px); line-height: 1.2; font-weight: 600; }
.gold-text { background: linear-gradient(135deg, #f1d775, var(--gold) 50%, #a37e1f); -webkit-background-clip: text; background-clip: text; color: transparent; }
.subtle { color: #b6b6b6; }
.muted { color: var(--muted); }

/* Glass card */
.glass {
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.015));
  border: 1px solid var(--border-soft);
  border-radius: 20px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease, background .35s ease;
  position: relative; overflow: hidden;
}
.glass::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(400px 200px at var(--mx, 50%) var(--my, 0%), rgba(212,175,55,0.10), transparent 60%);
  opacity: 0; transition: opacity .35s ease;
}
.glass:hover { transform: translateY(-4px); border-color: var(--border); box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 0 1px var(--border); }
.glass:hover::before { opacity: 1; }

.card-pad { padding: 28px; }
.card-pad-lg { padding: 36px; }

/* Icon tile */
.icon-tile {
  width: 56px; height: 56px; border-radius: 14px;
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(212,175,55,0.18), rgba(212,175,55,0.04));
  border: 1px solid var(--border);
  color: var(--gold);
  box-shadow: inset 0 0 20px rgba(212,175,55,0.1);
}
.icon-tile svg { width: 26px; height: 26px; }

/* Section heading block */
.section-head { text-align: center; max-width: 760px; margin: 0 auto 64px; }
.section-head p { margin-top: 16px; color: #b6b6b6; }

/* Grid helpers */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 1024px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; } }

/* Hero */
.hero { padding: 110px 0 80px; position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items: start; }
@media (max-width: 1024px) { .hero-grid { grid-template-columns: 1fr; gap: 48px; } }
.hero h1 { margin-bottom: 22px; }
.hero p.lead { font-size: 18px; color: #c8c8c8; max-width: 560px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-stats { margin-top: 56px; display: grid; grid-template-columns: repeat(3, auto); gap: 36px; }
.hero-stats .stat .num { font-family: 'Sora', sans-serif; font-size: 28px; color: var(--white); font-weight: 600; }
.hero-stats .stat .lbl { font-size: 12px; color: var(--muted); letter-spacing: .12em; text-transform: uppercase; margin-top: 4px; }

/* Hero visual — AI dashboard */
.hero-visual {
  position: relative; aspect-ratio: 5/4; border-radius: 24px; padding: 22px;
  background: linear-gradient(160deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
  border: 1px solid var(--border);
  box-shadow: 0 30px 80px rgba(0,0,0,0.55), inset 0 0 0 1px rgba(255,255,255,0.02);
  overflow: hidden;
}
.hero-visual::after {
  content:''; position:absolute; inset:-1px; border-radius: inherit; pointer-events:none;
  background: radial-gradient(600px 300px at 80% 0%, rgba(212,175,55,0.18), transparent 60%);
}
.hv-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hv-tile {
  background: rgba(255,255,255,0.03); border: 1px solid var(--border-soft);
  border-radius: 14px; padding: 14px; position: relative; overflow: hidden;
}
.hv-tile .h { font-size: 11px; color: #a8a8a8; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 8px; }
.hv-tile .v { font-family: 'Sora', sans-serif; font-size: 22px; color: var(--white); }
.hv-tile .v small { color: var(--gold); font-size: 12px; margin-left: 6px; }
.hv-spark { height: 38px; margin-top: 8px; }
.hv-spark path.line { fill: none; stroke: var(--gold); stroke-width: 1.8; stroke-linecap: round; filter: drop-shadow(0 0 6px var(--glow)); }
.hv-spark path.area { fill: url(#gradGold); opacity: .35; }

.hv-flow { margin-top: 14px; padding: 16px; border-radius: 14px; background: rgba(255,255,255,0.03); border: 1px solid var(--border-soft); }
.hv-flow .row { display: flex; align-items: center; gap: 12px; margin: 10px 0; }
.hv-flow .node {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 999px;
  background: linear-gradient(135deg, rgba(212,175,55,0.18), rgba(212,175,55,0.04));
  border: 1px solid var(--border); font-size: 12px; color: var(--white);
}
.hv-flow .node .pulse { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 10px var(--gold); animation: pulse 1.8s ease-in-out infinite; }
.hv-flow .arrow { flex: 1; height: 1px; background: linear-gradient(90deg, var(--gold), transparent); position: relative; }
.hv-flow .arrow::after {
  content:''; position:absolute; left:0; top:-3px; width: 14px; height: 7px; background: var(--gold);
  border-radius: 50%; filter: blur(6px); animation: travel 2.6s linear infinite;
}
@keyframes pulse { 0%,100%{ transform: scale(1); opacity: 1;} 50%{ transform: scale(1.6); opacity:.6;} }
@keyframes travel { 0%{ left: 0; opacity: 0;} 20%{opacity:1;} 100%{ left: 100%; opacity: 0;} }

/* Floating orbs */
.orb { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; pointer-events: none; }
.orb-gold { width: 280px; height: 280px; background: var(--gold); opacity: .18; }
.orb-tl { top: -80px; left: -60px; }
.orb-br { bottom: -100px; right: -80px; }

/* Service / feature cards */
.service-card .icon-tile { margin-bottom: 18px; }
.service-card h3 { font-size: 20px; margin-bottom: 10px; }
.service-card p { font-size: 14.5px; color: #b8b8b8; }
.service-card .cta { margin-top: 18px; font-size: 13px; color: var(--gold); display: inline-flex; align-items: center; gap: 8px; }
.service-card .cta .arrow { transition: transform .25s ease; }
.service-card:hover .cta .arrow { transform: translateX(4px); }

/* Feature row */
.feature h4 { font-size: 17px; margin-bottom: 8px; font-family: 'Sora', sans-serif; }
.feature p { font-size: 14px; }

/* Showcase (Section 5) */
.showcase-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
@media (max-width: 1024px){ .showcase-grid { grid-template-columns: 1fr; } }
.workflow {
  border-radius: 22px; padding: 26px; min-height: 420px;
  background: linear-gradient(160deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
  border: 1px solid var(--border); position: relative; overflow: hidden;
}
.workflow .lane { display: flex; align-items: center; gap: 14px; margin: 14px 0; }
.workflow .pill {
  padding: 10px 14px; border-radius: 12px; font-size: 13px; color: var(--white);
  background: rgba(255,255,255,0.04); border: 1px solid var(--border-soft);
  display: inline-flex; gap: 10px; align-items: center;
}
.workflow .pill.gold {
  background: linear-gradient(135deg, rgba(212,175,55,0.22), rgba(212,175,55,0.05));
  border-color: var(--border); color: var(--white);
}
.workflow .conn { flex: 1; height: 1px; background: linear-gradient(90deg, var(--gold), transparent); }
.workflow .badge {
  position: absolute; top: 18px; right: 18px; font-size: 11px; letter-spacing: .16em;
  color: var(--gold); padding: 6px 10px; border-radius: 999px; border: 1px solid var(--border);
  background: rgba(212,175,55,0.08);
}

/* Process timeline */
.timeline { position: relative; padding: 30px 0 10px; }
.timeline .track { position: absolute; left: 0; right: 0; top: 56px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent); }
.timeline-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; position: relative; }
@media (max-width: 900px){ .timeline-grid { grid-template-columns: repeat(2, 1fr); } .timeline .track{ display:none; } }
@media (max-width: 520px){ .timeline-grid { grid-template-columns: 1fr; } }
.t-step { text-align: center; }
.t-step .num {
  width: 56px; height: 56px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  margin: 0 auto 18px; font-family: 'Sora', sans-serif; font-weight: 600;
  background: linear-gradient(135deg, rgba(212,175,55,0.20), rgba(212,175,55,0.04));
  border: 1px solid var(--border); color: var(--gold);
  box-shadow: 0 0 30px var(--glow);
  position: relative; z-index: 1;
}
.t-step h4 { font-size: 16px; margin-bottom: 6px; }
.t-step p { font-size: 13.5px; color: #a8a8a8; }

/* Portfolio */
.proj-card .thumb {
  aspect-ratio: 16/10; border-radius: 16px; margin-bottom: 18px; overflow: hidden;
  background: linear-gradient(160deg, #141414, #0c0c0c);
  border: 1px solid var(--border-soft); position: relative;
}
.proj-card .thumb::before {
  content:''; position:absolute; inset:0;
  background:
    radial-gradient(420px 200px at 20% 0%, rgba(212,175,55,0.18), transparent 60%),
    linear-gradient(rgba(212,175,55,0.06) 1px, transparent 1px) 0 0 / 36px 36px,
    linear-gradient(90deg, rgba(212,175,55,0.06) 1px, transparent 1px) 0 0 / 36px 36px;
}
.proj-card .thumb .tag { position: absolute; top: 14px; left: 14px; font-size: 11px; letter-spacing: .14em; color: var(--gold); padding: 6px 10px; border-radius: 999px; background: rgba(212,175,55,0.10); border: 1px solid var(--border); text-transform: uppercase; }
.proj-card .thumb .chart {
  position: absolute; left: 14px; right: 14px; bottom: 14px;
  height: 60%;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
  border: 1px solid var(--border-soft); border-radius: 12px; padding: 10px;
}
.proj-card h3 { font-size: 19px; margin-bottom: 8px; }
.proj-card .meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.proj-card .chip { font-size: 12px; padding: 6px 10px; border-radius: 999px; background: rgba(255,255,255,0.04); border: 1px solid var(--border-soft); color: #cfcfcf; }

/* CTA banner */
.cta-banner {
  border-radius: 28px; padding: 64px 48px; position: relative; overflow: hidden;
  background:
    radial-gradient(600px 300px at 90% 0%, rgba(212,175,55,0.22), transparent 60%),
    linear-gradient(180deg, #121212, #0d0d0d);
  border: 1px solid var(--border);
}
.cta-banner h2 { font-size: clamp(28px, 3.5vw, 44px); max-width: 720px; line-height: 1.15; }
.cta-banner p { margin-top: 14px; max-width: 620px; }
.cta-banner .actions { margin-top: 28px; display: flex; gap: 14px; flex-wrap: wrap; }
.cta-banner .deco { position: absolute; right: -40px; bottom: -40px; width: 280px; height: 280px; border-radius: 50%; border: 1px solid var(--border); }
.cta-banner .deco.s { right: 60px; bottom: 40px; width: 180px; height: 180px; opacity: .6; }

/* Footer */
.footer { padding: 80px 0 40px; border-top: 1px solid var(--border-soft); background: #080808; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
@media (max-width: 900px){ .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px){ .footer-grid { grid-template-columns: 1fr; } }
.footer h5 { font-size: 13px; letter-spacing: .14em; color: #d8d8d8; text-transform: uppercase; margin-bottom: 16px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer a { color: #b6b6b6; font-size: 14px; }
.footer a:hover { color: var(--gold); }
.footer .brand-blurb { color: #a8a8a8; font-size: 14px; margin-top: 12px; max-width: 320px; }
.socials { display: flex; gap: 10px; margin-top: 16px; }
.socials a {
  width: 38px; height: 38px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.04); border: 1px solid var(--border-soft); color: #d8d8d8;
  transition: color .25s ease, border-color .25s ease, transform .25s ease;
}
.socials a:hover { color: var(--gold); border-color: var(--border); transform: translateY(-2px); }
.copyright { text-align: center; margin-top: 56px; color: #7a7a7a; font-size: 13px; border-top: 1px solid var(--border-soft); padding-top: 28px; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }

/* Page header (inner pages) */
.page-head { padding: 160px 0 60px; text-align: center; position: relative; }
.page-head h1 { font-size: clamp(36px, 4.6vw, 60px); }
.page-head p { max-width: 720px; margin: 18px auto 0; color: #b6b6b6; }

/* Solution / service blocks */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
@media (max-width: 900px){ .split { grid-template-columns: 1fr; } }
.list-check { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-direction: column; gap: 12px; }
.list-check li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: #cdcdcd; }
.list-check li::before {
  content: ''; flex: none; width: 18px; height: 18px; border-radius: 6px; margin-top: 3px;
  background: linear-gradient(135deg, var(--gold), #b8902a);
  box-shadow: 0 0 12px var(--glow);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M9 16.2l-3.5-3.6L4 14l5 5L20 8l-1.4-1.4z'/></svg>") center/14px no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M9 16.2l-3.5-3.6L4 14l5 5L20 8l-1.4-1.4z'/></svg>") center/14px no-repeat;
}

/* Form */
.form-card { padding: 32px; }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.field label { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: #a8a8a8; }
.field input, .field textarea, .field select {
  width: 100%; padding: 14px 16px; border-radius: 12px; color: var(--white);
  background: rgba(255,255,255,0.03); border: 1px solid var(--border-soft);
  font-family: inherit; font-size: 14px; outline: none;
  transition: border-color .25s ease, box-shadow .25s ease, background .25s ease;
}
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--gold); box-shadow: 0 0 0 4px rgba(212,175,55,0.10);
  background: rgba(255,255,255,0.05);
}
.field textarea { min-height: 130px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #6f6f6f; }

/* Select — custom gold caret + readable native dropdown list */
.field select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 44px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23D4AF37' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 16px 16px;
  cursor: pointer;
}
.field select::-ms-expand { display: none; }
/* Native option list cannot use glass styling, but we can ensure contrast */
.field select option {
  background-color: #161616;
  color: #f5f5f5;
  padding: 10px 12px;
}
.field select option:checked,
.field select option:hover {
  background: linear-gradient(0deg, rgba(212,175,55,0.25), rgba(212,175,55,0.25)) #161616;
  color: #ffffff;
}

/* Contact info */
.contact-info { display: flex; flex-direction: column; gap: 14px; }
.contact-item { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 14px; background: rgba(255,255,255,0.03); border: 1px solid var(--border-soft); }
.contact-item .icon-tile { width: 44px; height: 44px; border-radius: 12px; }
.contact-item .icon-tile svg { width: 20px; height: 20px; }
.contact-item .l { font-size: 12px; color: #9a9a9a; letter-spacing: .12em; text-transform: uppercase; }
.contact-item .v { font-size: 15px; color: var(--white); }

/* Value cards (About) */
.value h4 { font-size: 17px; }
.value p { font-size: 14px; }

/* Industry chip strip */
.industry-strip { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.industry-strip .chip { padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,0.03); border: 1px solid var(--border-soft); font-size: 13px; color: #cfcfcf; }

/* Placeholder page */
.placeholder { padding: 180px 0 140px; text-align: center; }
.placeholder .badge {
  display: inline-block; margin-top: 22px; padding: 8px 14px; border-radius: 999px;
  border: 1px solid var(--border); color: var(--gold); font-size: 12px; letter-spacing: .18em; text-transform: uppercase;
  background: rgba(212,175,55,0.06);
}

/* Selection */
::selection { background: rgba(212,175,55,0.35); color: #fff; }

/* ============================================================
   RESPONSIVE — Tablet & Mobile
   ============================================================ */

/* Tablet landscape & below */
@media (max-width: 1024px) {
  .container-x { padding: 0 20px; }
  .section { padding: 80px 0; }
  .section-tight { padding: 60px 0; }
  .section-head { margin-bottom: 48px; }

  .hero { padding: 100px 0 60px; }
  .hero-stats { gap: 24px; }
  .hero-visual { aspect-ratio: 4/3; padding: 18px; }

  .page-head { padding: 130px 0 50px; }
  .cat-head { padding: 130px 0 40px !important; }
  .proj-banner { padding: 130px 0 40px !important; }

  .cta-banner { padding: 52px 36px; }
  .cta-banner .deco { width: 220px; height: 220px; right: -60px; bottom: -60px; }
  .cta-banner .deco.s { width: 140px; height: 140px; right: 30px; bottom: 20px; }

  .card-pad-lg { padding: 28px; }
  .footer { padding: 64px 0 36px; }
}

/* Tablet portrait & large phones */
@media (max-width: 768px) {
  .container-x { padding: 0 18px; }
  .section { padding: 64px 0; }
  .section-tight { padding: 48px 0; }
  .section-head { margin-bottom: 40px; }

  /* Navbar */
  /* .nav-inner { padding: 14px 0; }
  .brand img { width: 34px; height: 34px; }
  .brand-name { font-size: 14px; }
  .nav-links { top: 64px; max-height: calc(100vh - 80px); overflow-y: auto; } */

  /* Hero */
  .hero { padding: 90px 0 48px; }
  .hero h1 { margin-bottom: 18px; }
  .hero p.lead { font-size: 16px; }
  .hero-ctas { margin-top: 26px; gap: 10px; }
  .hero-ctas .btn { padding: 12px 18px; font-size: 13px; }
  .hero-stats {
    margin-top: 40px;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
  .hero-stats .stat .num { font-size: 22px; }
  .hero-stats .stat .lbl { font-size: 10.5px; letter-spacing: .08em; }
  .hero-visual { aspect-ratio: auto; padding: 16px; }

  /* Hero visual flow nodes — allow wrap */
  .hv-flow .row { flex-wrap: wrap; gap: 8px; margin: 8px 0; }
  .hv-flow .node { font-size: 11px; padding: 6px 10px; }
  .hv-flow .arrow { min-width: 30px; }
  .hv-tile .v { font-size: 18px; }

  /* Page headings */
  .page-head { padding: 110px 0 40px; }
  .cat-head { padding: 110px 0 30px !important; }
  .proj-banner { padding: 110px 0 30px !important; }

  /* Cards */
  .card-pad { padding: 22px; }
  .card-pad-lg { padding: 24px; }
  .glass { border-radius: 18px; }

  /* Section heads */
  .eyebrow { font-size: 11px; padding: 6px 12px; letter-spacing: .18em; }

  /* Showcase / workflow */
  .workflow { padding: 22px; min-height: auto; border-radius: 18px; }
  .workflow .lane { flex-wrap: wrap; gap: 10px; margin: 10px 0; }
  .workflow .pill { font-size: 12px; padding: 8px 12px; }
  .workflow .conn { min-width: 24px; }
  .workflow .badge { top: 14px; right: 14px; font-size: 10px; padding: 5px 8px; }

  /* Timeline */
  .t-step .num { width: 48px; height: 48px; margin-bottom: 14px; font-size: 15px; }
  .t-step h4 { font-size: 15px; }
  .t-step p { font-size: 13px; }

  /* Portfolio cards */
  .proj-card .thumb { aspect-ratio: 16/11; margin-bottom: 14px; border-radius: 14px; }
  .proj-card h3 { font-size: 17px; }

  /* CTA banner */
  .cta-banner { padding: 40px 24px; border-radius: 22px; }
  .cta-banner h2 { font-size: clamp(24px, 5.5vw, 32px); }
  .cta-banner .actions { margin-top: 22px; gap: 10px; }
  .cta-banner .actions .btn { padding: 12px 18px; font-size: 13px; }
  .cta-banner .deco { width: 160px; height: 160px; right: -50px; bottom: -50px; opacity: .5; }
  .cta-banner .deco.s { width: 100px; height: 100px; right: 20px; bottom: 16px; opacity: .35; }

  /* Footer */
  .footer { padding: 56px 0 32px; }
  .footer h5 { font-size: 12px; margin-bottom: 12px; }
  .footer a { font-size: 13.5px; }
  .footer .brand-blurb { font-size: 13.5px; }
  .copyright { margin-top: 40px; padding-top: 22px; font-size: 12.5px; }

  /* Form */
  .form-card { padding: 24px; }
  .field { margin-bottom: 14px; }
  .field input, .field textarea, .field select { padding: 12px 14px; font-size: 14px; }
  .field select { padding-right: 38px; background-position: right 12px center; }

  /* Contact info */
  .contact-item { padding: 14px; gap: 12px; }
  .contact-item .icon-tile { width: 40px; height: 40px; }
  .contact-item .v { font-size: 14px; }

  /* Buttons — comfortable touch target */
  .btn { padding: 13px 20px; font-size: 13px; }
  .nav-cta { padding: 10px 16px; font-size: 13px; }

  /* Reduce orb intensity on mobile */
  .orb-gold { width: 200px; height: 200px; opacity: .14; }

  /* Background grid — softer on mobile to reduce visual noise */
  .bg-grid { background-size: 48px 48px; }
}

/* Small phones */
@media (max-width: 480px) {
  .container-x { padding: 0 16px; }
  .section { padding: 56px 0; }
  .section-tight { padding: 44px 0; }
  .section-head { margin-bottom: 32px; }

  /* Brand mark — keep readable but compact */
  /* .brand img { width: 32px; height: 32px; border-radius: 8px; }
  .brand-name { font-size: 13px; }
  .nav-toggle { width: 38px; height: 38px; } */

  /* Hero */
  .hero { padding: 80px 0 36px; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { justify-content: center; width: 100%; }
  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px 16px;
    margin-top: 32px;
    justify-items: center;
    text-align: center;
  }
  .hero-stats .stat { display: flex; flex-direction: column; align-items: center; }
  .hero-stats .stat:nth-child(3) { grid-column: 1 / -1; }
  .hero-stats .stat .num { font-size: 20px; }
  .hero-stats .stat .lbl { white-space: nowrap; }

  /* Page heads */
  .page-head { padding: 100px 0 32px; }
  .cat-head { padding: 100px 0 24px !important; }
  .proj-banner { padding: 100px 0 24px !important; }

  /* Eyebrow — wrap-safe */
  .eyebrow { font-size: 10.5px; padding: 6px 10px; }

  /* CTA banner */
  .cta-banner { padding: 32px 20px; border-radius: 20px; }
  .cta-banner .actions { flex-direction: column; align-items: stretch; }
  .cta-banner .actions .btn { justify-content: center; width: 100%; }
  .cta-banner .deco { display: none; }

  /* Workflow on tiny screens — stack pills vertically */
  .workflow .lane { flex-direction: column; align-items: stretch; }
  .workflow .conn { display: none; }
  .workflow .pill { justify-content: center; }

  /* Hero visual nodes on tiny screens — stack rows */
  .hv-row { grid-template-columns: 1fr; }
  .hv-flow .row { justify-content: center; }
  .hv-flow .arrow { display: none; }

  /* Footer */
  .footer { padding: 48px 0 28px; }
  .copyright { margin-top: 32px; }

  /* Cards */
  .card-pad { padding: 20px; }
  .card-pad-lg { padding: 22px; }
  .glass { border-radius: 16px; }

  /* Buttons full-width inside narrow containers when stacked */
  .form-card { padding: 20px; }

  /* Drill-down case study — simplify dashboard mockup */
  .shot { aspect-ratio: 4/3; }
  .shot .browser .body { grid-template-columns: 70px 1fr !important; }
  .shot .kpis { grid-template-columns: repeat(2, 1fr) !important; }
  .shot .charts { grid-template-columns: 1fr !important; }

  /* Breadcrumb on tiny screens */
  .breadcrumb { font-size: 12px; }
}

/* Prevent horizontal overflow from any wide child (images, pre, svg) */
@media (max-width: 1024px) {
  img, svg, video, iframe { max-width: 100%; height: auto; }
  pre, code { white-space: pre-wrap; word-break: break-word; }
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}


/* ============================================================
   PREMIUM ANIMATION LAYER � additive, non-destructive
   (Hero polish, tagline, card glow, button shimmer, cursor halo)
   ============================================================ */

/* --- Tagline strip --- */
.tagline-strip { padding: 30px 0 10px; position: relative; }
.tagline-inner {
  display: flex; align-items: center; gap: 24px;
  justify-content: center; text-align: center;
  padding: 26px 32px; border-radius: 22px;
  background: linear-gradient(180deg, rgba(212,175,55,0.05), rgba(255,255,255,0.015));
  border: 1px solid rgba(212,175,55,0.18);
  box-shadow: 0 20px 60px rgba(0,0,0,0.35), inset 0 0 0 1px rgba(255,255,255,0.02);
  position: relative; overflow: hidden;
}
.tagline-inner::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(800px 200px at var(--mx,50%) 50%, rgba(212,175,55,0.10), transparent 60%);
  opacity: 0; transition: opacity .5s ease;
}
.tagline-inner:hover::before { opacity: 1; }
.tagline-line {
  flex: 1; height: 1px; max-width: 180px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: .65;
}
.tagline-text {
  font-family: 'Sora', sans-serif;
  font-size: clamp(20px, 2.6vw, 32px);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.25;
  display: inline-flex; flex-wrap: wrap; justify-content: center; gap: .35em;
  margin: 0;
}
.tagline-text .tw {
  display: inline-block;
  opacity: 0; transform: translateY(14px);
  animation: taglineWord .7s cubic-bezier(.2,.7,.2,1) forwards;
}
.tagline-text .tw:nth-child(1) { animation-delay: .15s; }
.tagline-text .tw:nth-child(2) { animation-delay: .28s; }
.tagline-text .tw:nth-child(3) { animation-delay: .40s; }
.tagline-text .tw:nth-child(4) { animation-delay: .52s; }
.tagline-text .tw:nth-child(5) { animation-delay: .64s; }
.tagline-text .tw:nth-child(6) { animation-delay: .76s; }
@keyframes taglineWord {
  to { opacity: 1; transform: translateY(0); }
}
@media (max-width: 768px) {
  .tagline-strip { padding: 18px 0 6px; }
  .tagline-inner { padding: 22px 20px; gap: 14px; border-radius: 18px; }
  .tagline-line { max-width: 60px; }
}

/* --- Animated gold-text shimmer --- */
.gold-text {
  background: linear-gradient(120deg, #f1d775 0%, #D4AF37 35%, #fff3c2 50%, #D4AF37 65%, #a37e1f 100%);
  background-size: 250% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: goldShimmer 8s ease-in-out infinite;
}
@keyframes goldShimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* --- Hero entry: smoothly fade & lift each block --- */
.hero h1, .hero p.lead, .hero-ctas, .hero-stats, .hero .eyebrow {
  animation: heroIn .9s cubic-bezier(.2,.7,.2,1) both;
}
.hero .eyebrow      { animation-delay: .05s; }
.hero h1            { animation-delay: .15s; }
.hero p.lead        { animation-delay: .30s; }
.hero-ctas          { animation-delay: .42s; }
.hero-stats         { animation-delay: .55s; }
.hero-visual        { animation: heroIn 1.1s cubic-bezier(.2,.7,.2,1) .25s both; }
@keyframes heroIn {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* --- Hero ambient particles (CSS-only, GPU-friendly) --- */
.hero { overflow: hidden; }
.hero::before, .hero::after {
  content: ''; position: absolute; pointer-events: none; z-index: 0;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold); box-shadow: 0 0 16px var(--gold);
  opacity: 0;
}
.hero::before { top: 30%; left: 12%; animation: floatA 14s ease-in-out infinite; }
.hero::after  { top: 65%; left: 78%; width: 4px; height: 4px; animation: floatB 18s ease-in-out infinite; }
@keyframes floatA {
  0%, 100% { transform: translate(0, 0); opacity: 0; }
  20% { opacity: .7; }
  50% { transform: translate(40px, -60px); opacity: .9; }
  80% { opacity: .5; }
}
@keyframes floatB {
  0%, 100% { transform: translate(0, 0); opacity: 0; }
  20% { opacity: .6; }
  50% { transform: translate(-50px, 50px); opacity: .85; }
  80% { opacity: .4; }
}
.hero > * { position: relative; z-index: 1; }

/* --- AI particle canvas (drawn by enhancements.js) --- */
.ai-particles {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  opacity: .55;
}

/* --- Service / glass cards: gold border glow on hover (additive layer) --- */
.glass { will-change: transform; }
.glass::after {
  content: ''; position: absolute; inset: -1px; border-radius: inherit; pointer-events: none;
  padding: 1px;
  background: linear-gradient(135deg, transparent 30%, rgba(212,175,55,0.55) 50%, transparent 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .45s ease;
}
.glass:hover::after { opacity: 1; }

/* Icon-tile micro motion */
.glass:hover .icon-tile,
.service-card:hover .icon-tile,
.sub-card:hover .icon-tile {
  transform: translateY(-2px) rotate(-3deg) scale(1.06);
  box-shadow: inset 0 0 24px rgba(212,175,55,0.18), 0 8px 22px rgba(212,175,55,0.25);
}
.icon-tile { transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s ease; }

/* --- Portfolio card: gentle 3D tilt on hover --- */
.proj-card { transition: transform .5s cubic-bezier(.2,.7,.2,1), box-shadow .5s ease; will-change: transform; }
.proj-card:hover { transform: translateY(-6px); }
.proj-card .thumb { transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.proj-card:hover .thumb { transform: scale(1.015); }

/* --- Buttons: premium shimmer sweep --- */
.btn-primary { position: relative; overflow: hidden; }
.btn-primary::after {
  content: ''; position: absolute; top: 0; left: -120%; width: 60%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.45), transparent);
  transform: skewX(-20deg); transition: left .6s cubic-bezier(.2,.7,.2,1);
}
.btn-primary:hover::after { left: 130%; }
.btn-ghost, .btn-outline { position: relative; overflow: hidden; }
.btn-ghost::before, .btn-outline::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  box-shadow: 0 0 0 0 rgba(212,175,55,0); transition: box-shadow .35s ease;
}
.btn-ghost:hover::before, .btn-outline:hover::before {
  box-shadow: 0 0 0 6px rgba(212,175,55,0.08);
}

/* --- CTA banner subtle conic shine --- */
.cta-banner { position: relative; }
.cta-banner::before {
  content: ''; position: absolute; inset: -1px; border-radius: inherit; pointer-events: none;
  background: conic-gradient(from 0deg, transparent 0deg, rgba(212,175,55,0.25) 25deg, transparent 60deg, transparent 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  padding: 1px; opacity: .55;
  animation: bannerRotate 14s linear infinite;
}
@keyframes bannerRotate { to { transform: rotate(360deg); } }

/* --- Global cursor halo (desktop only) --- */
.cursor-halo {
  position: fixed; top: 0; left: 0; width: 28px; height: 28px;
  border-radius: 50%; pointer-events: none; z-index: 9000;
  background: radial-gradient(circle at center, rgba(212,175,55,0.35), rgba(212,175,55,0) 70%);
  transform: translate(-50%, -50%) scale(1);
  transition: transform .15s ease, opacity .3s ease;
  mix-blend-mode: screen; opacity: 0;
}
.cursor-halo.active { opacity: 1; }
.cursor-halo.hover { transform: translate(-50%, -50%) scale(2.2); }
@media (hover: none), (max-width: 900px) { .cursor-halo { display: none; } }

/* --- Eyebrow gentle pulse --- */
.eyebrow .dot { animation: dotPulse 2.2s ease-in-out infinite; }
@keyframes dotPulse {
  0%, 100% { box-shadow: 0 0 12px var(--gold), 0 0 0 0 rgba(212,175,55,0.55); }
  50%      { box-shadow: 0 0 18px var(--gold), 0 0 0 6px rgba(212,175,55,0); }
}

/* --- Reveal upgrade: stagger + subtle blur fade --- */
.reveal { filter: blur(2px); }
.reveal.in { filter: blur(0); transition: opacity .9s ease, transform .9s cubic-bezier(.2,.7,.2,1), filter .9s ease; }

/* Reduce motion respect */
@media (prefers-reduced-motion: reduce) {
  .tagline-text .tw, .hero h1, .hero p.lead, .hero-ctas, .hero-stats, .hero .eyebrow, .hero-visual,
  .cta-banner::before, .gold-text, .hero::before, .hero::after, .eyebrow .dot {
    animation: none !important;
  }
  .reveal { filter: none; }
}


/* ============================================================
   MOBILE-ONLY PIPELINE VISUALIZATION (<= 768px)
   Transforms .hv-flow and .workflow horizontal pipelines into
   a vertical animated stepper. Desktop view is untouched.
   ============================================================ */
@media (max-width: 768px) {

  /* ---------- Hero pipeline (.hv-flow) ---------- */
  .hv-flow {
    padding: 18px 16px 18px 20px;
  }
  .hv-flow .row {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 0;
    margin: 6px 0 14px;
    padding-left: 26px;
    position: relative;
  }
  /* vertical track */
  .hv-flow .row::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 14px;
    bottom: 14px;
    width: 2px;
    border-radius: 2px;
    background: linear-gradient(180deg,
      transparent 0%,
      rgba(212,175,55,.55) 14%,
      rgba(212,175,55,.55) 86%,
      transparent 100%);
  }
  /* traveling energy dot */
  .hv-flow .row::after {
    content: '';
    position: absolute;
    left: 3px;
    top: 0;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 14px var(--gold), 0 0 28px rgba(212,175,55,.55);
    animation: pipelineFlow 3.6s ease-in-out infinite;
  }
  .hv-flow .row:nth-child(2)::after { animation-delay: 1.2s; }

  .hv-flow .node {
    width: 100%;
    justify-content: flex-start;
    font-size: 13px;
    padding: 11px 14px;
    margin: 5px 0;
    border-radius: 12px;
    position: relative;
    background: linear-gradient(135deg, rgba(212,175,55,0.14), rgba(212,175,55,0.03));
    border: 1px solid var(--border);
  }
  /* node anchor dot on the line */
  .hv-flow .node::before {
    content: '';
    position: absolute;
    left: -22px;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--gold);
    border: 2px solid #0b0b0b;
    box-shadow: 0 0 0 3px rgba(212,175,55,.18), 0 0 10px var(--gold);
    z-index: 1;
  }
  /* hide existing inline pulse dot on mobile - the node anchor replaces it */
  .hv-flow .node .pulse {
    width: 5px;
    height: 5px;
    margin-right: 2px;
    opacity: .85;
  }
  /* hide horizontal arrow connectors */
  .hv-flow .arrow { display: none !important; }

  /* ---------- Showcase / Solutions / Services pipelines (.workflow .lane) ---------- */
  .workflow .lane {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 0;
    margin: 6px 0 16px;
    padding-left: 26px;
    position: relative;
  }
  .workflow .lane::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 14px;
    bottom: 14px;
    width: 2px;
    border-radius: 2px;
    background: linear-gradient(180deg,
      transparent 0%,
      rgba(212,175,55,.55) 14%,
      rgba(212,175,55,.55) 86%,
      transparent 100%);
  }
  .workflow .lane::after {
    content: '';
    position: absolute;
    left: 3px;
    top: 0;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 14px var(--gold), 0 0 28px rgba(212,175,55,.55);
    animation: pipelineFlow 3.6s ease-in-out infinite;
  }
  .workflow .lane:nth-child(even)::after { animation-delay: .9s; }
  .workflow .lane:nth-child(3n)::after  { animation-delay: 1.8s; }

  .workflow .pill {
    width: 100%;
    justify-content: flex-start;
    font-size: 13px;
    padding: 11px 14px;
    margin: 5px 0;
    border-radius: 12px;
    position: relative;
  }
  .workflow .pill::before {
    content: '';
    position: absolute;
    left: -22px;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--gold);
    border: 2px solid #0b0b0b;
    box-shadow: 0 0 0 3px rgba(212,175,55,.18), 0 0 10px var(--gold);
    z-index: 1;
  }
  .workflow .conn { display: none !important; }

  /* Smooth flow animation down the vertical track */
  @keyframes pipelineFlow {
    0%   { top: 0;                opacity: 0; transform: scale(.6); }
    10%  { opacity: 1;            transform: scale(1); }
    90%  { opacity: 1;            transform: scale(1); }
    100% { top: calc(100% - 12px); opacity: 0; transform: scale(.6); }
  }
}

/* Respect reduced-motion: keep layout, drop the traveling dot */
@media (max-width: 768px) and (prefers-reduced-motion: reduce) {
  .hv-flow .row::after,
  .workflow .lane::after { display: none; }
}