/* ============================================================
   FyndWorks — Workforce Intelligence Platform
   Design system + section styles
   ============================================================ */

:root {
  /* Core palette */
  --navy-900: #050816;
  --navy-850: #070a1c;
  --navy-800: #0a0f24;
  --navy-700: #11173a;

  /* Accent gradient stops */
  --indigo: #6d63f0;
  --violet: #8b6fe8;
  --cyan:   #3bb8d6;
  --magenta:#d65a9a;

  /* Light section */
  --light-top: #c9cbd6;
  --light-bot: #e7e8ee;
  --ink: #0a0e1c;
  --ink-soft: #3a4258;

  /* Text on dark */
  --on-dark: #e9ebf4;
  --on-dark-soft: #9aa0bd;
  --on-dark-faint: #5b6182;

  --grad: linear-gradient(100deg, #7c6ef0 0%, #9a6fe6 38%, #3bb8d6 100%);
  --grad-warm: linear-gradient(100deg, #7c6ef0 0%, #b063c9 50%, #d65a8e 100%);

  --maxw: 1320px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --font-display: "Hanken Grotesk", system-ui, sans-serif;
  --font-serif: "Instrument Serif", Georgia, serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 96px; }

body {
  font-family: var(--font-display);
  background: var(--navy-900);
  color: var(--on-dark);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

::selection { background: rgba(124,110,240,.35); color: #fff; }

a { color: inherit; text-decoration: none; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 48px; }

.mono {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: 12px;
}

.serif-italic { font-family: var(--font-serif); font-style: italic; font-weight: 400; }

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Section eyebrow chip ---------- */
.eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: .24em;
  font-size: 11px;
  padding: 9px 16px;
  border-radius: 100px;
  border: 1px solid currentColor;
  opacity: .7;
}
.eyebrow.on-light { color: #5b54c9; border-color: rgba(91,84,201,.4); }
.eyebrow.on-dark  { color: var(--on-dark-soft); border-color: rgba(154,160,189,.28); }

/* ============================================================
   NAV
   ============================================================ */
.nav-shell {
  position: fixed;
  top: 18px; left: 0; right: 0;
  z-index: 100;
  display: flex; justify-content: center;
  pointer-events: none;
}
.nav {
  pointer-events: auto;
  width: min(1380px, calc(100% - 40px));
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 18px 14px 22px;
  border-radius: 100px;
  background: rgba(12,16,38,.55);
  backdrop-filter: blur(22px) saturate(140%);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 20px 60px -30px rgba(0,0,0,.8);
  transition: background .4s var(--ease), border-color .4s var(--ease);
}
.brand { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 19px; letter-spacing: -.01em; }
.brand-mark {
  width: 40px; height: 40px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,.35));
}
.nav-links { display: flex; gap: 6px; }
.nav-links a {
  padding: 9px 16px; border-radius: 100px;
  color: var(--on-dark-soft); font-size: 15px; font-weight: 500;
  transition: color .25s, background .25s;
}
.nav-links a:hover { color: #fff; background: rgba(255,255,255,.06); }
.nav-right { display: flex; align-items: center; gap: 18px; }
.nav-signin { color: var(--on-dark-soft); font-size: 15px; font-weight: 500; transition: color .25s; }
.nav-signin:hover { color: #fff; }

.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-display);
  font-weight: 600; font-size: 15px;
  padding: 12px 22px; border-radius: 100px;
  cursor: pointer; border: none;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s;
  white-space: nowrap;
}
.btn svg { width: 15px; height: 15px; }
.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 10px 30px -10px rgba(124,110,240,.8);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -12px rgba(124,110,240,.9); }
.btn-ghost {
  background: rgba(255,255,255,.05);
  color: var(--on-dark);
  border: 1px solid rgba(255,255,255,.12);
}
.btn-ghost:hover { background: rgba(255,255,255,.1); transform: translateY(-2px); }
.btn-lg { padding: 16px 30px; font-size: 16px; }

/* On light sections, nav stays dark glass — handled by JS toggling .nav--dark-bg */
.nav.on-light-mode {
  background: rgba(20,22,36,.82);
  border-color: rgba(255,255,255,.06);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: safe center;
  background:
    radial-gradient(120% 90% at 78% 64%, rgba(36,90,110,.55) 0%, rgba(20,40,70,.2) 32%, transparent 60%),
    radial-gradient(90% 80% at 10% 20%, rgba(60,40,120,.35) 0%, transparent 55%),
    linear-gradient(180deg, #060818 0%, #070a1c 100%);
  overflow: hidden;
}
#hero-canvas { position: absolute; inset: 0; z-index: 1; }
.hero .wrap { position: relative; z-index: 2; padding-top: 120px; padding-bottom: 60px; text-align: center; }

.hero h1 {
  font-weight: 800;
  font-size: clamp(40px, 5.6vw, 80px);
  line-height: 1.04;
  letter-spacing: -.028em;
  max-width: 20ch;
  margin: 0 auto 32px;
}
.hero h1 .serif-italic { font-weight: 400; letter-spacing: -.01em; padding-right: .06em; }
.hero-sub {
  font-size: clamp(17px, 1.55vw, 22px);
  line-height: 1.6;
  color: var(--on-dark-soft);
  max-width: 56ch;
  margin: 0 auto 40px;
}
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; margin-bottom: 0; }

.hero-stats { display: flex; gap: 64px; flex-wrap: wrap; justify-content: center; }
.stat-mini .num { font-size: clamp(30px, 3.4vw, 44px); font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.stat-mini .lbl { font-family: var(--font-mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--on-dark-faint); margin-top: 12px; }

/* ============================================================
   TRUSTED BY
   ============================================================ */
.trusted {
  background: linear-gradient(180deg, #070a1c 0%, #060818 100%);
  padding: 70px 0 90px;
  position: relative;
}
.trusted-label { text-align: center; color: var(--on-dark-faint); margin-bottom: 46px; font-family: var(--font-mono); font-size: 12px; letter-spacing: .22em; text-transform: uppercase; }
.trusted-label b { color: #8ea2d8; font-weight: 500; }
.marquee { position: relative; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; gap: 90px; width: max-content; animation: scroll-x 36s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.logo-word {
  font-family: var(--font-mono);
  font-size: 22px; letter-spacing: .26em; text-transform: uppercase;
  color: rgba(180,188,220,.4);
  white-space: nowrap; font-weight: 500;
  transition: color .3s;
}
.logo-word:hover { color: rgba(190,200,235,.85); }
@keyframes scroll-x { to { transform: translateX(-50%); } }

/* ============================================================
   LIGHT SECTIONS (About / Services / Customers)
   ============================================================ */
.light-sec {
  background: linear-gradient(170deg, var(--light-top) 0%, var(--light-bot) 60%);
  color: var(--ink);
  position: relative;
}
.light-sec .eyebrow { color: #5b54c9; border-color: rgba(91,84,201,.35); }

.sec-head { max-width: 60ch; }
.sec-title {
  font-weight: 800;
  font-size: clamp(38px, 5.4vw, 76px);
  line-height: 1.02;
  letter-spacing: -.035em;
  margin: 26px 0 22px;
}
.sec-desc { font-size: clamp(17px, 1.4vw, 21px); line-height: 1.6; color: var(--ink-soft); max-width: 52ch; }

/* About stats */
.about { padding: 130px 0 140px; }
.about-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 80px; }
.stat-card {
  background: linear-gradient(160deg, rgba(255,255,255,.5), rgba(255,255,255,.18));
  border: 1px solid rgba(255,255,255,.6);
  border-radius: 22px;
  padding: 34px 32px 30px;
  position: relative;
  overflow: hidden;
  min-height: 270px;
  display: flex; flex-direction: column;
  box-shadow: 0 30px 60px -40px rgba(40,40,90,.4);
}
.stat-card .ic { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; margin-bottom: auto; }
.stat-card .ic svg { width: 22px; height: 22px; }
.stat-card .big { font-size: clamp(48px, 5.6vw, 78px); font-weight: 800; letter-spacing: -.04em; line-height: .9; }
.stat-card .big.big-range { font-size: clamp(40px, 4.4vw, 60px); white-space: nowrap; }
.stat-card .cap { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); margin-top: 16px; white-space: nowrap; }
.ic-violet { background: rgba(124,110,240,.14); color: #6a5de0; }
.ic-cyan   { background: rgba(59,184,214,.14); color: #2f93b3; }
.ic-mag    { background: rgba(214,90,142,.13); color: #c4537f; }

/* ============================================================
   SERVICES (interactive)
   ============================================================ */
.services { padding: 130px 0 150px; }
.services-top { display: block; }
.services-top .sec-desc { max-width: 62ch; margin-top: 22px; }
.svc-layout { display: grid; grid-template-columns: 380px 1fr; gap: 48px; margin-top: 70px; align-items: start; }
/* let the grid/flex tracks shrink below their content's intrinsic width so long
   tab labels ellipsize instead of forcing the column past the viewport (caused a
   horizontal overflow → uneven left/right gap on small phones) */
.svc-layout > * { min-width: 0; }
.svc-tab, .svc-tab .t-name { min-width: 0; }

.svc-nav { display: flex; flex-direction: column; gap: 6px; }
.svc-tab {
  display: flex; align-items: center; gap: 13px;
  padding: 16px 16px; border-radius: 16px;
  cursor: pointer; border: 1px solid transparent;
  transition: background .3s var(--ease), border-color .3s, box-shadow .3s;
}
.svc-tab .t-ic { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; flex-shrink: 0; background: rgba(124,110,240,.1); color: #6a5de0; transition: all .3s; }
.svc-tab .t-ic svg { width: 19px; height: 19px; }
.svc-tab .t-name { font-weight: 600; font-size: 14.5px; letter-spacing: -.005em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.svc-tab .t-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); margin-left: auto; opacity: 0; transition: opacity .3s; }
.svc-tab:hover { background: rgba(255,255,255,.34); }
.svc-tab.active {
  background: linear-gradient(150deg, rgba(255,255,255,.7), rgba(255,255,255,.35));
  border-color: rgba(255,255,255,.7);
  box-shadow: 0 24px 50px -34px rgba(50,50,110,.5);
}
.svc-tab.active .t-ic { background: var(--grad); color: #fff; box-shadow: 0 8px 18px -6px rgba(124,110,240,.7); }
.svc-tab.active .t-dot { opacity: 1; }

.svc-panel {
  background: linear-gradient(155deg, rgba(255,255,255,.55), rgba(255,255,255,.22));
  border: 1px solid rgba(255,255,255,.6);
  border-radius: 26px;
  padding: 48px 52px;
  position: relative;
  min-height: 440px;
  box-shadow: 0 40px 80px -50px rgba(40,40,90,.45);
}
.svc-panel .svc-no { color: #6a5de0; font-family: var(--font-mono); font-size: 13px; letter-spacing: .2em; }
.svc-panel h3 { font-size: clamp(20px, 2vw, 30px); font-weight: 800; letter-spacing: -.03em; margin: 16px 0 14px; line-height: 1.1; max-width: none; white-space: normal; overflow-wrap: break-word; }
.svc-panel .svc-desc { font-size: 18px; line-height: 1.55; color: var(--ink-soft); max-width: 42ch; margin-bottom: 34px; }
.svc-bullets { display: flex; flex-direction: column; gap: 18px; max-width: 46ch; }
.svc-bullets li { display: flex; align-items: center; gap: 14px; list-style: none; font-size: 19px; font-weight: 500; }
.svc-bullets .chk { width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(150deg, #4f9bd6, #3f7ad6); display: grid; place-items: center; flex-shrink: 0; }
.svc-bullets .chk svg { width: 16px; height: 16px; color: #fff; }
.svc-out {
  position: absolute; top: 40px; right: 40px;
  width: 180px; padding: 24px 24px 22px;
  background: linear-gradient(160deg, #11142e, #0a0c1f);
  border-radius: 18px;
  border: 1px solid rgba(124,110,240,.2);
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.6);
}
.svc-out .ol { font-family: var(--font-mono); font-size: 11px; letter-spacing: .2em; color: var(--on-dark-faint); text-transform: uppercase; }
.svc-out .ov { font-size: 46px; font-weight: 800; letter-spacing: -.03em; margin: 10px 0 4px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.svc-out .od { font-size: 14px; color: var(--on-dark-soft); }
.svc-cta { margin-top: 40px; }
.svc-cta a { display: inline-flex; align-items: center; gap: 8px; color: #5b54c9; font-weight: 600; font-family: var(--font-mono); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; }
.svc-cta svg { width: 14px; height: 14px; }

.fade-swap { animation: fadeSwap .5s var(--ease); }
@keyframes fadeSwap { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ============================================================
   PROCESS (dark, orbital)
   ============================================================ */
.process {
  background:
    radial-gradient(80% 70% at 80% 30%, rgba(40,70,120,.3), transparent 60%),
    linear-gradient(180deg, #060818, #08081a);
  padding: 140px 0 150px;
  overflow: hidden;
}
.process-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.process h2 { font-size: clamp(40px, 5vw, 74px); font-weight: 800; line-height: 1.0; letter-spacing: -.035em; margin: 24px 0 24px; }
.process-desc { font-size: 20px; line-height: 1.6; color: var(--on-dark-soft); max-width: 44ch; margin-bottom: 50px; }
.stage-list { display: flex; flex-direction: column; gap: 8px; }
.stage-item {
  display: flex; align-items: center; gap: 20px;
  padding: 14px 18px; border-radius: 14px; cursor: pointer;
  transition: background .3s;
}
.stage-item:hover { background: rgba(255,255,255,.04); }
.stage-item .s-dot { width: 11px; height: 11px; border-radius: 50%; background: var(--on-dark-faint); flex-shrink: 0; transition: all .3s; }
.stage-item .s-no { font-family: var(--font-mono); font-size: 14px; color: var(--on-dark-faint); width: 26px; }
.stage-item .s-name { font-size: 22px; font-weight: 600; color: var(--on-dark-soft); transition: color .3s; }
.stage-item.active .s-name { color: #fff; }
.stage-item.active .s-dot { background: var(--indigo); box-shadow: 0 0 0 5px rgba(109,99,240,.2); }

.orbit { position: relative; aspect-ratio: 1; max-width: 520px; margin: 0 auto; display: grid; place-items: center; }
.orbit-ring { position: absolute; border: 1px solid rgba(120,140,220,.12); border-radius: 50%; }
.orbit-ring.r1 { inset: 4%; }
.orbit-ring.r2 { inset: 16%; }
.orbit-ring.r3 { inset: 30%; }
.orbit-glow { position: absolute; inset: 26%; border-radius: 50%; background: radial-gradient(circle, rgba(70,120,200,.32), transparent 70%); filter: blur(6px); }
.orbit-nodes { position: absolute; inset: 0; z-index: 3; }
.orbit-node {
  position: absolute; transform: translate(-50%, -50%);
  width: 36px; height: 36px; border-radius: 50%; padding: 0;
  display: grid; place-items: center; cursor: pointer;
  border: 1px solid rgba(120,140,220,.32);
  background: rgba(14,18,38,.82); backdrop-filter: blur(4px);
  color: var(--on-dark-soft); font-family: var(--font-mono); font-size: 11px; font-weight: 500;
  transition: transform .35s var(--ease), background .35s, border-color .35s, color .35s, box-shadow .35s;
}
.orbit-node::before { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 1px solid transparent; transition: border-color .35s; }
.orbit-node:hover { color: #fff; border-color: rgba(124,110,240,.6); transform: translate(-50%, -50%) scale(1.1); }
.orbit-node.active {
  background: var(--grad); color: #fff; border-color: transparent;
  transform: translate(-50%, -50%) scale(1.28);
  box-shadow: 0 0 0 6px rgba(124,110,240,.16), 0 12px 28px -6px rgba(124,110,240,.75);
}
.orbit-node.active::before { border-color: rgba(124,110,240,.4); }
.orbit-card {
  position: relative; z-index: 2;
  width: 260px; padding: 32px 28px;
  text-align: center;
  background: linear-gradient(160deg, rgba(22,28,54,.7), rgba(12,16,34,.55));
  border: 1px solid rgba(120,140,220,.18);
  border-radius: 22px;
  backdrop-filter: blur(10px);
}
.orbit-card .oc-ic { width: 58px; height: 58px; border-radius: 16px; background: linear-gradient(150deg, #5b8fd6, #3bb8d6); display: grid; place-items: center; margin: 0 auto 22px; box-shadow: 0 14px 30px -10px rgba(59,184,214,.6); }
.orbit-card .oc-ic svg { width: 26px; height: 26px; color: #fff; }
.orbit-card .oc-stage { font-family: var(--font-mono); font-size: 12px; letter-spacing: .2em; color: var(--on-dark-faint); text-transform: uppercase; }
.orbit-card h4 { font-size: 26px; font-weight: 700; margin: 12px 0 14px; letter-spacing: -.02em; }
.orbit-card p { font-size: 15px; line-height: 1.55; color: var(--on-dark-soft); }

/* ============================================================
   INDUSTRIES (dark grid)
   ============================================================ */
.industries {
  background:
    radial-gradient(70% 60% at 85% 10%, rgba(60,50,130,.25), transparent 55%),
    linear-gradient(180deg, #08081a, #060818);
  padding: 130px 0 150px;
}
.ind-top { display: block; }
.industries h2 { font-size: clamp(40px, 5.2vw, 76px); font-weight: 800; line-height: 1.0; letter-spacing: -.035em; margin-top: 24px; }
.ind-top p { color: var(--on-dark-soft); font-size: 18px; line-height: 1.6; max-width: none; margin-top: 20px; }
.ind-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 64px; }
.ind-card {
  position: relative;
  background: linear-gradient(160deg, rgba(30,36,68,.5), rgba(14,18,38,.35));
  border: 1px solid rgba(120,140,220,.12);
  border-radius: 20px;
  padding: 28px 26px 26px;
  min-height: 230px;
  display: flex; flex-direction: column;
  cursor: pointer; overflow: hidden;
  transition: transform .4s var(--ease), border-color .4s, box-shadow .4s;
}
.ind-card::after { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 60% at 50% 0%, rgba(90,110,210,.16), transparent 70%); opacity: 0; transition: opacity .4s; }
.ind-card:hover { transform: translateY(-6px); border-color: rgba(120,150,240,.34); box-shadow: 0 30px 60px -36px rgba(0,0,0,.8); }
.ind-card:hover::after { opacity: 1; }
.ind-card .i-ic { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: auto; }
.ind-card .i-ic svg { width: 24px; height: 24px; color: #fff; }
.ind-card h4 { font-size: 24px; font-weight: 700; letter-spacing: -.02em; margin: 22px 0 18px; }
.ind-metrics { display: flex; gap: 34px; }
.ind-metrics .m .ml { font-family: var(--font-mono); font-size: 10px; letter-spacing: .14em; color: var(--on-dark-faint); text-transform: uppercase; }
.ind-metrics .m .mv { font-size: 26px; font-weight: 800; letter-spacing: -.02em; margin-top: 4px; }
.ind-explore { margin-top: 18px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--cyan); display: inline-flex; align-items: center; gap: 6px; opacity: 0; transform: translateY(6px); transition: all .35s; }
.ind-explore svg { width: 12px; height: 12px; }
.ind-card:hover .ind-explore { opacity: 1; transform: none; }
.ig-1 { background: linear-gradient(150deg,#5b8fd6,#3bb8d6); }
.ig-2 { background: linear-gradient(150deg,#d65a8e,#b0537f); }
.ig-3 { background: linear-gradient(150deg,#3bb8d6,#2f93b3); }
.ig-4 { background: linear-gradient(150deg,#7c6ef0,#6a5de0); }
.ig-5 { background: linear-gradient(150deg,#6a5de0,#5b8fd6); }
.ig-6 { background: linear-gradient(150deg,#d65a8e,#c97a4f); }
.ig-7 { background: linear-gradient(150deg,#4fb89e,#3bb8d6); }
.ig-8 { background: linear-gradient(150deg,#8b6fe8,#6a5de0); }

/* ============================================================
   CUSTOMERS / SUCCESS STORIES (light)
   ============================================================ */
.customers { padding: 130px 0 150px; }
.cust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 70px; }
.cust-card {
  background: linear-gradient(160deg, rgba(255,255,255,.55), rgba(255,255,255,.22));
  border: 1px solid rgba(255,255,255,.65);
  border-radius: 24px;
  padding: 34px 32px;
  display: flex; flex-direction: column;
  box-shadow: 0 34px 70px -46px rgba(40,40,90,.5);
  transition: transform .4s var(--ease), box-shadow .4s;
}
.cust-card:hover { transform: translateY(-6px); box-shadow: 0 44px 80px -44px rgba(40,40,90,.55); }
.cust-head { display: flex; align-items: center; gap: 14px; margin-bottom: 30px; }
.cust-logo { width: 48px; height: 48px; border-radius: 13px; display: grid; place-items: center; font-weight: 700; color: #fff; font-size: 15px; letter-spacing: .02em; }
.cust-head .ch-name { font-weight: 700; font-size: 19px; }
.cust-head .ch-tag { font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); margin-top: 2px; }
.cust-head .quote-mk { margin-left: auto; color: #8a83e0; font-size: 30px; font-weight: 800; line-height: 1; font-family: var(--font-serif); }
.cust-meta { display: flex; gap: 40px; margin-bottom: 26px; }
.cust-meta .cm .cl { font-family: var(--font-mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); white-space: nowrap; }
.cust-meta .cm .cv { font-size: 20px; font-weight: 700; margin-top: 6px; letter-spacing: -.01em; }
.cust-quote { font-size: 19px; line-height: 1.5; color: #1a2236; margin-bottom: 22px; flex: 1; }
.cust-author { font-size: 15px; color: var(--ink-soft); margin-bottom: 26px; }
.cust-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 22px; border-top: 1px solid rgba(40,40,90,.14); }
.cust-foot .stat-line { display: flex; flex-direction: column; gap: 4px; }
.cust-foot .stat-line strong { font-family: var(--font-mono); font-size: 13px; letter-spacing: .06em; color: #5b54c9; font-weight: 700; }
.cust-foot .stat-line span { font-size: 14px; color: var(--ink-soft); font-weight: 500; }
.cust-foot .read { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 15px; color: var(--ink); white-space: nowrap; }
.cust-foot .read svg { width: 14px; height: 14px; }

/* ============================================================
   WHY FYNDWORKS (comparison, dark)
   ============================================================ */
.why {
  background:
    radial-gradient(60% 60% at 20% 30%, rgba(60,50,130,.22), transparent 55%),
    linear-gradient(180deg, #060818, #070a1c);
  padding: 130px 0 150px;
}
.why-head { text-align: center; max-width: 60ch; margin: 0 auto; }
.why h2 { font-size: clamp(38px, 5vw, 72px); font-weight: 800; line-height: 1.02; letter-spacing: -.035em; margin: 22px 0; }
.why-head p { color: var(--on-dark-soft); font-size: 19px; line-height: 1.6; }
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 70px; max-width: 1040px; margin-left: auto; margin-right: auto; }
.cmp-col { border-radius: 24px; padding: 40px 38px; }
.cmp-fynd {
  background: linear-gradient(160deg, rgba(36,40,86,.7), rgba(16,20,46,.5));
  border: 1px solid rgba(124,110,240,.32);
  box-shadow: 0 40px 90px -50px rgba(80,70,200,.6);
}
.cmp-trad { background: rgba(255,255,255,.025); border: 1px solid rgba(255,255,255,.07); }
.cmp-col .cmp-tag { font-family: var(--font-mono); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--on-dark-faint); }
.cmp-col h3 { font-size: 28px; font-weight: 700; margin: 14px 0 30px; letter-spacing: -.02em; }
.cmp-fynd h3 { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cmp-list { display: flex; flex-direction: column; gap: 18px; }
.cmp-list li { list-style: none; display: flex; align-items: flex-start; gap: 14px; font-size: 18px; line-height: 1.4; }
.cmp-list .ck { width: 26px; height: 26px; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center; }
.cmp-list .ck svg { width: 15px; height: 15px; }
.cmp-fynd .ck { background: var(--grad); color: #fff; }
.cmp-fynd li { color: #fff; }
.cmp-trad .ck { background: rgba(255,255,255,.06); color: var(--on-dark-faint); }
.cmp-trad li { color: var(--on-dark-soft); }

/* ============================================================
   CTA
   ============================================================ */
.cta {
  position: relative;
  padding: 150px 0 130px;
  text-align: center;
  background: linear-gradient(180deg, #070a1c, #050816);
  overflow: hidden;
}
.cta-glow { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55; }
.cta-glow.g1 { width: 600px; height: 600px; background: radial-gradient(circle, rgba(124,110,240,.5), transparent 65%); top: -10%; left: 8%; animation: float1 16s ease-in-out infinite; }
.cta-glow.g2 { width: 560px; height: 560px; background: radial-gradient(circle, rgba(59,184,214,.4), transparent 65%); bottom: -16%; right: 6%; animation: float2 19s ease-in-out infinite; }
.cta-glow.g3 { width: 480px; height: 480px; background: radial-gradient(circle, rgba(214,90,142,.3), transparent 65%); top: 30%; right: 30%; animation: float1 22s ease-in-out infinite reverse; }
@keyframes float1 { 0%,100%{ transform: translate(0,0);} 50%{ transform: translate(40px,-30px);} }
@keyframes float2 { 0%,100%{ transform: translate(0,0);} 50%{ transform: translate(-50px,30px);} }
.cta .wrap { position: relative; z-index: 2; }
.cta .pill-status { display: inline-flex; align-items: center; gap: 9px; font-family: var(--font-mono); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--on-dark-soft); padding: 9px 18px; border: 1px solid rgba(255,255,255,.12); border-radius: 100px; margin-bottom: 36px; }
.cta .pill-status .blip { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 0 rgba(59,184,214,.6); animation: blip 2s infinite; }
@keyframes blip { 0%{ box-shadow: 0 0 0 0 rgba(59,184,214,.6);} 70%{ box-shadow: 0 0 0 10px rgba(59,184,214,0);} 100%{ box-shadow: 0 0 0 0 rgba(59,184,214,0);} }
.cta h2 { font-size: clamp(52px, 9vw, 132px); font-weight: 800; line-height: .94; letter-spacing: -.04em; margin-bottom: 36px; }
.cta h2 .serif-italic { font-weight: 400; }
.cta-sub { font-size: clamp(18px, 1.6vw, 23px); color: var(--on-dark-soft); line-height: 1.6; max-width: 68ch; margin: 0 auto 46px; }
.cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 90px; }
.cta-metrics { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; max-width: 1000px; margin: 0 auto; }
.cta-metric { background: rgba(255,255,255,.025); border: 1px solid rgba(255,255,255,.07); border-radius: 18px; padding: 30px 26px; text-align: left; }
.cta-metric .cmv { font-size: 38px; font-weight: 800; letter-spacing: -.03em; line-height: 1.05; }
.cta-metric .cmv .cmv-sub { display: block; font-size: 15px; font-weight: 600; letter-spacing: -.01em; color: var(--on-dark-soft); margin-top: 4px; }
.cta-metric .cml { font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-faint); margin-top: 12px; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { position: relative; background: linear-gradient(180deg, #060818 0%, #04060f 100%); padding: 84px 0 40px; overflow: hidden; }
.footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(124,110,240,.5), rgba(59,184,214,.4), transparent); }
.foot-glow { position: absolute; top: -40%; left: 50%; transform: translateX(-50%); width: 900px; height: 500px; pointer-events: none;
  background: radial-gradient(50% 60% at 50% 40%, rgba(124,110,240,.16), transparent 70%); filter: blur(20px); }
.footer .wrap { position: relative; z-index: 1; }

/* top band: brand + CTA */
.foot-cta { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; flex-wrap: wrap; }
.foot-cta-copy { max-width: 46ch; }
.foot-logo { margin-bottom: 20px; font-size: 22px; }
.foot-cta-copy p { color: var(--on-dark-soft); font-size: 15px; line-height: 1.65; }
.foot-cta-actions { display: flex; flex-direction: column; align-items: flex-end; gap: 20px; }
.foot-social { display: flex; gap: 12px; }
.foot-social a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.03); color: var(--on-dark-soft);
  transition: transform .3s var(--ease), border-color .3s, color .3s, background .3s; }
.foot-social a svg { width: 18px; height: 18px; }
.foot-social a .ic-whatsapp { width: 19px; height: 19px; }
.foot-social a:hover { transform: translateY(-3px); color: #fff; border-color: rgba(124,110,240,.55); background: rgba(124,110,240,.16); }

.foot-divider { height: 1px; background: rgba(255,255,255,.07); margin: 52px 0 46px; }

/* link columns */
.foot-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px 40px; }
.foot-col h5 { font-family: var(--font-mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--on-dark-faint); margin-bottom: 22px; }
.foot-col a { display: block; width: fit-content; color: var(--on-dark-soft); font-size: 15px; margin-bottom: 15px; white-space: nowrap;
  transition: color .25s, transform .25s var(--ease); }
.foot-col a:hover { color: #fff; transform: translateX(3px); }
.foot-contact a { display: flex; align-items: center; gap: 11px; }
.foot-contact a svg { width: 16px; height: 16px; color: var(--on-dark-faint); transition: color .25s; }
.foot-contact a:hover svg { color: var(--cyan); }

/* bottom bar */
.foot-bottom { display: flex; justify-content: space-between; align-items: center; margin-top: 64px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.06); flex-wrap: wrap; gap: 16px; }
.foot-bottom > span { color: var(--on-dark-faint); font-size: 13px; }
.foot-bottom .fb-right { display: flex; align-items: center; gap: 28px; }
.fb-region { display: inline-flex; align-items: center; gap: 8px; color: var(--on-dark-faint); font-size: 13px; line-height: 1; white-space: nowrap; }
.fb-region svg { width: 15px; height: 15px; flex-shrink: 0; color: var(--on-dark-faint); position: relative; top: -.5px; }
.fb-top { display: inline-flex; align-items: center; gap: 7px; color: var(--on-dark-soft); font-size: 13px; font-weight: 500; transition: color .25s; }
.fb-top svg { width: 14px; height: 14px; transition: transform .25s var(--ease); }
.fb-top:hover { color: #fff; }
.fb-top:hover svg { transform: translateY(-3px); }

@media (max-width: 900px) {
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .foot-cta-actions { align-items: flex-start; }
}
@media (max-width: 560px) {
  .foot-grid { grid-template-columns: 1fr; }
  .foot-bottom { flex-direction: column; align-items: flex-start; }
}

/* ============================================================
   EXPERTISE (dark, chips)
   ============================================================ */
.expertise {
  background:
    radial-gradient(60% 60% at 80% 0%, rgba(60,50,130,.2), transparent 55%),
    linear-gradient(180deg, #070a1c, #08081a);
  padding: 130px 0 140px;
}
.exp-head { max-width: 60ch; }
.expertise h2 { font-size: clamp(38px, 5vw, 70px); font-weight: 800; line-height: 1.02; letter-spacing: -.035em; margin: 22px 0 18px; }
.exp-head p { color: var(--on-dark-soft); font-size: 19px; line-height: 1.6; max-width: 50ch; }
.exp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 64px; align-items: stretch; }
.exp-col {
  background: linear-gradient(160deg, rgba(30,36,68,.5), rgba(14,18,38,.35));
  border: 1px solid rgba(120,140,220,.12);
  border-radius: 22px;
  padding: 34px 32px 30px;
}
.exp-col .exp-ic { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 22px; }
.exp-col .exp-ic svg { width: 24px; height: 24px; color: #fff; }
.exp-col h4 { font-size: 24px; font-weight: 700; letter-spacing: -.02em; margin-bottom: 22px; }
.exp-chips { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.exp-chips span {
  font-size: 13px; font-weight: 500;
  padding: 8px 13px; border-radius: 100px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.09);
  color: var(--on-dark-soft);
  display: flex; align-items: center; justify-content: center; text-align: center;
  transition: background .25s, color .25s, border-color .25s;
}
.exp-chips span:hover { background: rgba(124,110,240,.14); border-color: rgba(124,110,240,.4); color: #fff; }

/* Compact industry cards (icon + name only) + secondary strip */
.ind-grid-3 { grid-template-columns: repeat(3, 1fr); }
.ind-grid-compact .ind-card { min-height: 168px; }
.ind-grid-compact .ind-card h4 { margin: 22px 0 0; font-size: 21px; text-wrap: balance; }
.ind-strip-label-wrap { text-align: center; margin: 70px 0 28px; }
.ind-strip-label {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 20px; border-radius: 100px;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--on-dark); font-weight: 600;
  background: linear-gradient(150deg, rgba(124,110,240,.14), rgba(59,184,214,.1));
  border: 1px solid rgba(124,110,240,.32);
}
.ind-strip-label svg { width: 14px; height: 14px; color: var(--cyan); }
.ind-strip .logo-word { font-size: 16px; letter-spacing: .12em; }

/* Service outcome value — fit ranges like 15–20 Days / 60–70% */
.svc-out .ov { font-size: 34px; line-height: 1.05; display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.svc-out .ov .ou {
  -webkit-text-fill-color: initial;
  background: none;
  color: var(--on-dark-soft);
  font-size: 15px; font-weight: 600; letter-spacing: 0;
}

/* Hero badges */
.hero-badges { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-bottom: 30px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--on-dark-soft);
  padding: 9px 16px; border-radius: 100px;
  border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.03);
}
.hero-badge svg { width: 13px; height: 13px; color: var(--cyan); }

/* ============================================================
   Reveal animation
   ============================================================ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-track, .cta-glow { animation: none; }
}

/* ============================================================
   Hero two-stat row + emphasized about description
   ============================================================ */
.hero-stats-2 { gap: 72px; }
.stat-mini .num.num-text { font-size: clamp(18px, 1.9vw, 25px); font-weight: 700; letter-spacing: -.01em; }
.sec-desc-em { font-size: clamp(17px, 1.4vw, 21px); line-height: 1.6; color: var(--ink-soft); }

/* ============================================================
   ENGAGEMENT MODELS — hub & spoke (light)
   ============================================================ */
.engage { padding: 130px 0 140px; }
.engage-head { max-width: 60ch; margin: 0 auto; text-align: center; }
.engage-head .sec-title { margin: 24px 0 0; }
.engage-head .sec-desc { margin: 20px auto 0; }

.engage-hub { position: relative; height: 660px; margin-top: 56px; }
.engage-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; z-index: 1; pointer-events: none; }

/* central FyndWorks hub */
.hub-core {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 3;
  width: 196px; height: 196px; border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 9px; text-align: center;
  background: linear-gradient(160deg, #ffffff, #eef0fb);
  box-shadow: 0 34px 90px -34px rgba(90,80,200,.6), inset 0 0 0 1px rgba(124,110,240,.22);
}
.hub-core::before { content: ""; position: absolute; inset: -34px; border-radius: 50%;
  background: radial-gradient(circle, rgba(124,110,240,.30), transparent 70%); z-index: -1; animation: hubGlow 5s ease-in-out infinite; }
.hub-core::after { content: ""; position: absolute; inset: -16px; border-radius: 50%; border: 1px solid rgba(124,110,240,.22); }
.hub-mark { width: 54px; height: 54px; border-radius: 16px; background: var(--grad); display: grid; place-items: center; box-shadow: 0 12px 26px -8px rgba(124,110,240,.75); }
.hub-mark svg { width: 27px; height: 27px; color: #fff; }
.hub-name { font-weight: 800; font-size: 21px; letter-spacing: -.02em; color: var(--ink); }
.hub-sub { font-family: var(--font-mono); font-size: 9px; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-soft); }

/* floating model nodes */
.hub-node {
  position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%); z-index: 2;
  width: 246px; min-height: 156px; padding: 22px 26px; border-radius: 20px; text-align: center;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: linear-gradient(160deg, rgba(255,255,255,.82), rgba(255,255,255,.5));
  border: 1px solid rgba(255,255,255,.85);
  box-shadow: 0 26px 55px -32px rgba(50,50,110,.5);
  backdrop-filter: blur(6px);
  transition: transform .35s var(--ease), box-shadow .35s;
}
.hub-node:hover { box-shadow: 0 34px 66px -30px rgba(50,50,110,.55); }
.hn-no { font-family: var(--font-mono); font-size: 12px; letter-spacing: .22em; color: #6a5de0; }
.hub-node h4 { font-size: 21px; font-weight: 800; letter-spacing: -.02em; margin: 7px 0 6px; color: var(--ink); display: flex; align-items: center; gap: 8px; justify-content: center; }
.hub-node p { font-size: 14px; color: var(--ink-soft); line-height: 1.4; }
.hn-tag { font-family: var(--font-mono); font-size: 9px; letter-spacing: .12em; padding: 3px 8px; border-radius: 100px; background: var(--grad); color: #fff; }

/* connector lines (injected by app.js) */
.egl-line { stroke: url(#eglGrad); stroke-width: 2; fill: none; stroke-linecap: round; stroke-dasharray: 5 9; animation: eglFlow 1.1s linear infinite; }
.egl-dot { animation: eglPulse 2.4s ease-in-out infinite; }

@keyframes eglFlow { to { stroke-dashoffset: -14; } }
@keyframes eglPulse { 0%, 100% { opacity: .5; } 50% { opacity: 1; } }
@keyframes hubGlow { 0%, 100% { opacity: .8; transform: scale(1); } 50% { opacity: 1; transform: scale(1.06); } }

@media (max-width: 900px) {
  .engage-hub { height: auto; display: flex; flex-direction: column; align-items: center; gap: 16px; margin-top: 40px; }
  .engage-lines { display: none; }
  /* keep hub-core relative so its glow/ring pseudo-elements stay anchored to the
     circle instead of expanding to the .engage-hub box (which drew a stray oval) */
  .hub-core { position: relative; left: auto; top: auto; transform: none; margin-bottom: 6px; }
  .hub-node { position: static; transform: none; }
  .hub-node { width: 100%; max-width: 420px; }
  .hub-core::before { animation: none; }
}
@media (prefers-reduced-motion: reduce) {
  .egl-line, .egl-dot, .hub-core::before { animation: none; }
}

/* ============================================================
   CONTACT FORM (light)
   ============================================================ */
.contact-sec { padding: 120px 0 130px; }
.contact-layout { display: grid; grid-template-columns: .82fr 1.18fr; gap: 56px; align-items: start; }
.contact-intro .sec-title { margin: 24px 0 20px; }
.contact-points { list-style: none; display: flex; flex-direction: column; gap: 14px; margin-top: 32px; }
.contact-points li { display: flex; align-items: center; gap: 12px; font-size: 16px; font-weight: 600; color: var(--ink); }
.contact-points .chk { width: 26px; height: 26px; border-radius: 50%; background: linear-gradient(150deg, #4f9bd6, #3f7ad6); display: grid; place-items: center; flex-shrink: 0; }
.contact-points .chk svg { width: 14px; height: 14px; color: #fff; }
.contact-card {
  background: linear-gradient(160deg, rgba(255,255,255,.6), rgba(255,255,255,.26));
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 26px;
  padding: 40px 40px 36px;
  box-shadow: 0 40px 80px -50px rgba(40,40,90,.5);
  display: flex; flex-direction: column; gap: 20px;
}
.cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.cf-field { display: flex; flex-direction: column; gap: 8px; }
.cf-field label { font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); font-weight: 600; display: flex; align-items: center; gap: 8px; }
.cf-field .req { color: #d65a8e; }
.cf-field .opt { font-family: var(--font-display); font-size: 9px; padding: 2px 8px; border-radius: 100px; background: rgba(40,40,90,.08); color: var(--ink-soft); letter-spacing: .06em; text-transform: none; }
.cf-field input, .cf-field textarea, .cf-select select {
  width: 100%; font-family: var(--font-display); font-size: 15px; color: var(--ink);
  padding: 13px 16px; border-radius: 12px;
  background: rgba(255,255,255,.6);
  border: 1px solid rgba(40,40,90,.16);
  transition: border-color .25s, box-shadow .25s, background .25s;
}
.cf-field textarea { resize: vertical; min-height: 110px; line-height: 1.5; }
.cf-field input::placeholder, .cf-field textarea::placeholder { color: #8890a8; }
.cf-field input:focus, .cf-field textarea:focus, .cf-select select:focus {
  outline: none; border-color: rgba(124,110,240,.6); background: #fff;
  box-shadow: 0 0 0 4px rgba(124,110,240,.14);
}
.cf-select { position: relative; }
.cf-select select { appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 42px; }
.cf-select svg { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; color: var(--ink-soft); pointer-events: none; }
.cf-actions { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-top: 6px; }
.cf-note { font-size: 13px; color: var(--ink-soft); }
.cf-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

/* --- form states: loading / success / error --- */
.contact-card { position: relative; }
.cf-body { display: flex; flex-direction: column; gap: 20px; }
.contact-card.is-sent .cf-body { display: none; }

.cf-error { display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px; border-radius: 14px; margin-bottom: 22px;
  background: linear-gradient(150deg, rgba(214,90,142,.15), rgba(214,90,142,.07));
  border: 1px solid rgba(214,90,142,.45); color: #a5325f; font-size: 14px; font-weight: 500; line-height: 1.45; }
.cf-error[hidden] { display: none; }
.cf-error svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 1px; }

.cf-success { display: none; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  gap: 15px; padding: 34px 20px; min-height: 380px; animation: cfFade .5s var(--ease); }
.cf-success[hidden] { display: none; }
.contact-card.is-sent .cf-success { display: flex; }
.cf-success-ic { width: 78px; height: 78px; border-radius: 50%; background: var(--grad); display: grid; place-items: center;
  color: #fff; box-shadow: 0 18px 44px -14px rgba(124,110,240,.75); animation: cfPop .55s var(--ease); }
.cf-success-ic svg { width: 38px; height: 38px; stroke-width: 3; }
.cf-success h3 { font-size: 28px; font-weight: 800; letter-spacing: -.02em; color: var(--ink); }
.cf-success p { font-size: 16px; line-height: 1.55; color: var(--ink-soft); max-width: 40ch; }
.cf-success .btn-ghost { margin-top: 8px; background: rgba(40,40,90,.06); color: var(--ink); border: 1px solid rgba(40,40,90,.18); }
.cf-success .btn-ghost:hover { background: rgba(40,40,90,.1); }

.btn-spin { width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255,255,255,.4); border-top-color: #fff;
  display: inline-block; animation: cfSpin .7s linear infinite; }
.btn.is-loading { opacity: .92; cursor: default; }
.cf-shake { animation: cfShake .4s var(--ease); }

@keyframes cfPop { 0% { transform: scale(.4); opacity: 0; } 60% { transform: scale(1.12); } 100% { transform: scale(1); opacity: 1; } }
@keyframes cfFade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes cfSpin { to { transform: rotate(360deg); } }
@keyframes cfShake { 0%,100% { transform: translateX(0); } 20% { transform: translateX(-6px); } 40% { transform: translateX(6px); } 60% { transform: translateX(-4px); } 80% { transform: translateX(4px); } }
@media (prefers-reduced-motion: reduce) {
  .cf-success, .cf-success-ic, .cf-shake, .btn-spin { animation: none; }
}

@media (max-width: 1080px) {
  .engage-grid { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 720px) {
  .hero-stats-2 { gap: 30px; }
  .ind-grid-3 { grid-template-columns: 1fr; }
  .cf-row { grid-template-columns: 1fr; }
  .contact-card { padding: 30px 24px; }
  /* keep the response note on a single line */
  .cf-actions { gap: 12px 22px; }
  .cf-note { flex-basis: 100%; font-size: 12px; white-space: nowrap; }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1080px) {
  .wrap { padding: 0 28px; }
  .about-grid, .ind-grid { grid-template-columns: repeat(2, 1fr); }
  .exp-grid { grid-template-columns: 1fr; }
  .svc-layout { grid-template-columns: 1fr; }
  .svc-out { position: static; width: auto; max-width: 200px; margin-bottom: 26px; }
  .process-grid, .ind-top, .services-top { grid-template-columns: 1fr; }
  .cust-grid { grid-template-columns: 1fr; }
  .compare { grid-template-columns: 1fr; }
  .cta-metrics { grid-template-columns: repeat(2,1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .orbit { max-width: 400px; }
}
/* Short viewports (14"/15.6" laptops & shorter browser windows). The hero stays
   large and premium — we only tighten the vertical spacing and ease the top-end
   font so BOTH CTAs land on the first screen. Full-size desktops keep the base
   sizing untouched; this never shrinks the hero on tall screens. */
@media (min-width: 721px) and (max-height: 800px) {
  .hero .wrap { padding-top: 104px; padding-bottom: 34px; }
  .hero h1 { font-size: clamp(42px, 5vw, 66px); margin-bottom: 22px; }
  .hero-sub { font-size: clamp(16px, 1.45vw, 20px); margin-bottom: 28px; }
}
/* Genuinely short laptop windows (e.g. 1366×768, 1280×720): compress a touch more. */
@media (min-width: 721px) and (max-height: 680px) {
  .hero .wrap { padding-top: 92px; padding-bottom: 26px; }
  .hero h1 { font-size: clamp(36px, 4.4vw, 52px); margin-bottom: 16px; }
  .hero-sub { font-size: clamp(15px, 1.3vw, 18px); margin-bottom: 22px; }
}

@media (max-width: 720px) {
  .wrap { padding: 0 20px; }
  .nav-links, .nav-signin { display: none; }
  .hero-stats { gap: 36px; }
  /* fit hero + both CTAs on a single phone screen (incl. iPhone SE2) */
  .hero { min-height: 100svh; }
  .hero .wrap { padding-top: 92px; padding-bottom: 30px; }
  .hero h1 { font-size: clamp(31px, 8.2vw, 44px); line-height: 1.07; margin-bottom: 16px; }
  .hero-sub { font-size: clamp(15px, 4vw, 17px); line-height: 1.5; max-width: 40ch; margin-bottom: 24px; }
  .hero-cta { gap: 12px; }
  .about-grid, .ind-grid { grid-template-columns: 1fr; }
  .cta-metrics { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  /* the desktop panel's 52px side padding is heavy on a ~335px phone card — ease it
     so the service content uses the width evenly (padding stays symmetric, so the
     card keeps equal left/right gaps inside .wrap) */
  .svc-panel { padding: 34px 24px; }
  .svc-panel .svc-desc { font-size: 16px; max-width: none; }
  .svc-bullets { max-width: none; }
  .svc-bullets li { font-size: 16px; gap: 12px; }
  .svc-bullets .chk { width: 26px; height: 26px; }
  .svc-bullets .chk svg { width: 14px; height: 14px; }
  /* on phones the card fills the orbit, so the numbered markers overlap it —
     drop the decorative nodes and lean on the stage list above for navigation */
  .orbit { max-width: 320px; }
  .orbit-nodes { display: none; }
}
/* Short / compact phones (iPhone SE2 & SE3, iPhone mini, compact Samsung Galaxy):
   reclaim vertical space so both CTAs stay above the fold even with the mobile
   browser toolbars showing (small-viewport height). */
@media (max-width: 720px) and (max-height: 700px) {
  .hero .wrap { padding-top: 86px; padding-bottom: 22px; }
  .hero h1 { font-size: clamp(28px, 7.6vw, 34px); margin-bottom: 12px; }
  .hero-sub { font-size: 14.5px; line-height: 1.45; margin-bottom: 18px; }
  .hero-cta .btn.btn-lg { padding: 13px 22px; font-size: 15px; }
}
