/* TAFISO — Tax and Finance Solutions, LLC */
@font-face { font-family: "Jakarta"; src: url("../fonts/plus-jakarta-sans-latin-wght-normal.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("../fonts/fraunces-latin-wght-italic.woff2") format("woff2"); font-weight: 300 900; font-style: italic; font-display: swap; }

:root {
  --bg: #fbfaf6;
  --bg-2: #f3f1ea;
  --surface: #ffffff;
  --ink: #0d1a14;
  --ink-2: #39483f;
  --muted: #6b7a72;
  --line: #e8e4d9;
  --emerald: #0e8a5f;
  --emerald-2: #13ad7a;
  --teal: #0fa59a;
  --amber: #f6a93b;
  --orange: #e8681c;
  --mint: #def6eb;
  --peach: #ffead6;
  --sky: #e2eefb;
  --grad: linear-gradient(110deg, #0e8a5f 0%, #0fa59a 45%, #f6a93b 100%);
  --grad-cool: linear-gradient(135deg, #0e8a5f, #0fa59a);
  --grad-warm: linear-gradient(135deg, #f6a93b, #e8681c);
  --shadow-sm: 0 1px 2px rgba(13, 26, 20, .05), 0 4px 14px -6px rgba(13, 26, 20, .08);
  --shadow: 0 2px 4px rgba(13, 26, 20, .04), 0 24px 48px -24px rgba(13, 26, 20, .22);
  --shadow-lg: 0 4px 8px rgba(13, 26, 20, .04), 0 40px 80px -30px rgba(13, 26, 20, .3);
  --radius: 22px;
  --max: 1220px;
  --sans: "Jakarta", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --logo-accent: var(--orange);
  --logo-sub: var(--muted);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--sans); font-size: 17px; line-height: 1.7; color: var(--ink);
  background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { max-width: 100%; }
a { color: var(--emerald); text-underline-offset: 3px; }
a:hover { color: var(--orange); }
h1, h2, h3, h4 { font-family: var(--sans); font-weight: 750; line-height: 1.04; letter-spacing: -0.035em; margin: 0 0 .5em; color: var(--ink); }
h1 { font-size: clamp(2.7rem, 6.6vw, 5.6rem); font-weight: 780; }
h2 { font-size: clamp(2.1rem, 4.4vw, 3.6rem); }
h3 { font-size: 1.4rem; letter-spacing: -0.02em; font-weight: 700; }
p { margin: 0 0 1em; }
.serif, h1 em, h2 em, h3 em {
  font-family: var(--serif); font-style: italic; font-weight: 500; letter-spacing: -0.02em;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-right: .06em;
}
::selection { background: var(--emerald); color: #fff; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 28px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 200; background: #fff; padding: 8px 14px; border-radius: 8px; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 6px; }

.pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px 7px 8px; border-radius: 999px;
  background: rgba(255, 255, 255, .75); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  font-size: .86rem; font-weight: 650; color: var(--ink-2); margin-bottom: 28px; backdrop-filter: blur(8px);
}
.pill b { white-space: nowrap; flex: none; display: inline-grid; place-items: center; padding: 3px 10px; border-radius: 999px; background: var(--grad-cool); color: #fff; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }
.kicker { display: inline-flex; align-items: center; gap: 10px; font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--emerald); margin-bottom: 18px; }
.kicker::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--grad-warm); box-shadow: 0 0 0 4px rgba(246, 169, 59, .2); }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 100; padding: 16px 0; color: var(--ink); transition: padding .3s var(--ease); }
.site-header .bar {
  position: relative; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 10px 12px 10px 22px; border-radius: 999px; border: 1px solid transparent;
  transition: background .3s, border-color .3s, box-shadow .3s;
}
.site-header.scrolled { padding: 10px 0; }
.site-header.scrolled .bar, .site-header.menu-open .bar {
  background: rgba(255, 255, 255, .82); border-color: rgba(232, 228, 217, .9); box-shadow: var(--shadow);
  backdrop-filter: saturate(180%) blur(16px); -webkit-backdrop-filter: saturate(180%) blur(16px);
}
.brand { display: inline-flex; color: var(--ink); text-decoration: none; }
.brand:hover { color: var(--ink); }
.brand .logo-svg { height: 72px; width: auto; display: block; }
.nav ul { list-style: none; display: flex; gap: 2px; margin: 0; padding: 0; align-items: center; }
.nav a:not(.btn) { display: block; padding: 9px 16px; border-radius: 999px; text-decoration: none; color: var(--ink-2); font-weight: 650; font-size: .95rem; transition: background .2s, color .2s; }
.nav a:not(.btn):hover { background: var(--bg-2); color: var(--ink); }
.nav a[aria-current="page"] { background: var(--mint); color: var(--emerald); }
.nav .btn { margin-left: 8px; }
.nav-toggle { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; place-items: center; }

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 28px; border-radius: 999px; font-family: var(--sans); font-weight: 700; font-size: .98rem;
  text-decoration: none; border: 0; cursor: pointer; isolation: isolate; overflow: hidden;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), color .2s, background .2s;
}
.btn svg { transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn-primary { background: var(--grad-cool); color: #fff; box-shadow: 0 12px 30px -12px rgba(14, 138, 95, .7), inset 0 1px 0 rgba(255,255,255,.25); }
.btn-primary::after { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--grad); opacity: 0; transition: opacity .35s; }
.btn-primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 18px 36px -12px rgba(14, 138, 95, .75); }
.btn-primary:hover::after { opacity: 1; }
.btn-warm { background: var(--grad-warm); color: #fff; box-shadow: 0 12px 30px -12px rgba(232, 104, 28, .7); }
.btn-warm:hover { color: #fff; transform: translateY(-2px); }
.btn-ghost { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-sm); }
.btn-ghost:hover { color: var(--ink); transform: translateY(-2px); box-shadow: inset 0 0 0 1px #d6d0c1, var(--shadow); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { color: #fff; transform: translateY(-2px); background: #1b3127; }
.btn-white { background: #fff; color: var(--emerald); box-shadow: 0 12px 30px -12px rgba(0,0,0,.35); }
.btn-white:hover { color: var(--emerald); transform: translateY(-2px); }
.btn-glass { background: rgba(255,255,255,.14); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.4); }
.btn-glass:hover { color: #fff; background: rgba(255,255,255,.24); }
.nav .btn { padding: 12px 22px; font-size: .92rem; }

/* ---------- Mesh background ---------- */
.mesh { position: absolute; inset: 0; overflow: hidden; z-index: -1; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .7; will-change: transform; }
.b1 { width: 560px; height: 560px; background: #9de8c6; top: -160px; right: -60px; animation: drift1 18s ease-in-out infinite; }
.b2 { width: 480px; height: 480px; background: #ffd29b; top: 120px; right: 260px; opacity: .65; animation: drift2 22s ease-in-out infinite; }
.b3 { width: 520px; height: 520px; background: #bfe0f7; bottom: -260px; left: -140px; animation: drift3 20s ease-in-out infinite; }
.b4 { width: 360px; height: 360px; background: #8fdcd3; top: -120px; left: 30%; opacity: .45; animation: drift2 26s ease-in-out -6s infinite; }
.dots {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(rgba(13, 26, 20, .12) 1px, transparent 1.2px); background-size: 26px 26px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 10%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 10%, transparent 75%);
  opacity: .5;
}
@keyframes drift1 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-80px, 60px) scale(1.12); } }
@keyframes drift2 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(70px, -50px) scale(.9); } }
@keyframes drift3 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(90px, -40px) scale(1.1); } }

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; padding: 170px 0 70px; }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 56px; align-items: center; }
.hero h1 { margin-bottom: 26px; }
.hero .lede { font-size: 1.22rem; color: var(--ink-2); max-width: 33em; margin-bottom: 36px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.trust { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 38px; color: var(--ink-2); font-size: .92rem; font-weight: 600; }
.trust span { display: inline-flex; align-items: center; gap: 8px; }
.trust svg { color: var(--emerald); }

/* hero visual */
.stage { position: relative; height: 540px; perspective: 1200px; }
.stage-in { position: absolute; inset: 0; transform-style: preserve-3d; transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .4s var(--ease); }
.ui { position: absolute; background: rgba(255, 255, 255, .86); border: 1px solid rgba(255, 255, 255, .9); border-radius: 22px; box-shadow: var(--shadow-lg); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); padding: 22px; }
.ui-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; gap: 10px; }
.ui-title { display: flex; align-items: center; gap: 10px; font-weight: 750; letter-spacing: -0.01em; white-space: nowrap; }
.ui-ic { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; color: #fff; background: var(--grad-cool); flex: none; }
.ui-ic.warm { background: var(--grad-warm); }
.ui-ic svg { width: 18px; height: 18px; }
.status { font-size: .74rem; font-weight: 800; padding: 5px 10px; border-radius: 999px; background: var(--mint); color: var(--emerald); letter-spacing: .02em; white-space: nowrap; }
.status.warm { background: var(--peach); color: #b4510f; }
.ui.payroll { top: 0; left: 0; width: 70%; animation: float 8s ease-in-out infinite; transform: translateZ(40px); }
.rows { list-style: none; margin: 0; padding: 0; }
.rows li { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-top: 1px solid var(--line); font-size: .93rem; color: var(--ink-2); font-weight: 600; }
.rows li:first-child { border-top: 0; }
.rows li em { white-space: nowrap; margin-left: auto; font-style: normal; color: var(--muted); font-size: .8rem; font-weight: 600; }
.ok { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--grad-cool); color: #fff; flex: none; }
.ok svg { width: 12px; height: 12px; }
.js .rows .ok { transform: scale(0); }
.js .rows.go .ok { animation: pop .5s var(--ease) forwards; }
.js .rows.go li:nth-child(2) .ok { animation-delay: .3s; }
.js .rows.go li:nth-child(3) .ok { animation-delay: .6s; }
.ui.close { right: 0; top: 246px; width: 60%; animation: float 8s ease-in-out -3s infinite; transform: translateZ(70px); }
.bar-track { height: 10px; border-radius: 999px; background: var(--bg-2); overflow: hidden; margin: 8px 0 10px; }
.bar-fill { height: 100%; width: 100%; border-radius: inherit; background: var(--grad); transform-origin: left; }
.js .bar-fill { transform: scaleX(0); }
.js .bar-fill.go { transform: scaleX(1); transition: transform 1.6s var(--ease) .3s; }
.ui small { color: var(--muted); font-size: .8rem; font-weight: 600; display: flex; justify-content: space-between; }
.ui.chart { left: 0; bottom: 0; width: 50%; animation: float 8s ease-in-out -5s infinite; transform: translateZ(20px); }
.bars { display: flex; align-items: end; gap: 9px; height: 92px; margin-top: 6px; }
.bars i { flex: 1; border-radius: 8px 8px 4px 4px; background: linear-gradient(180deg, #13ad7a, #0fa59a); opacity: .9; transform-origin: bottom; }
.bars i:nth-child(even) { background: linear-gradient(180deg, #f6a93b, #e8681c); }
.js .bars i { transform: scaleY(0); }
.js .bars.go i { transform: scaleY(1); transition: transform 1s var(--ease); }
.js .bars.go i:nth-child(2) { transition-delay: .1s; } .js .bars.go i:nth-child(3) { transition-delay: .2s; } .js .bars.go i:nth-child(4) { transition-delay: .3s; } .js .bars.go i:nth-child(5) { transition-delay: .4s; } .js .bars.go i:nth-child(6) { transition-delay: .5s; } .js .bars.go i:nth-child(7) { transition-delay: .6s; }
.ui.coin { right: 0; bottom: 14px; padding: 16px 20px; display: flex; gap: 14px; align-items: center; animation: float 8s ease-in-out -1.5s infinite; transform: translateZ(90px); }
.coin-ic { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--grad-warm); color: #fff; font-family: var(--serif); font-style: italic; font-size: 1.5rem; font-weight: 600; box-shadow: 0 10px 20px -8px rgba(232, 104, 28, .7); flex: none; }
.ui.coin strong { display: block; line-height: 1.2; letter-spacing: -0.01em; }
.ui.coin span { font-size: .82rem; color: var(--muted); }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }
@keyframes pop { 0% { transform: scale(0); } 70% { transform: scale(1.18); } 100% { transform: scale(1); } }

/* stats */
.stats { margin-top: 70px; display: grid; grid-template-columns: repeat(4, 1fr); background: rgba(255, 255, 255, .8); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); backdrop-filter: blur(10px); }
.stat { padding: 28px 30px; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat b { display: block; font-size: 2.6rem; font-weight: 800; letter-spacing: -0.04em; line-height: 1.05; margin-bottom: 8px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { color: var(--muted); font-size: .92rem; font-weight: 600; }

/* ---------- Ticker ---------- */
.ticker { padding: 40px 0 20px; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.ticker-label { text-align: center; font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.ticker-track { display: flex; gap: 12px; width: max-content; animation: scroll 55s linear infinite; padding: 4px 0 10px; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-track span { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; padding: 12px 20px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 650; font-size: .95rem; color: var(--ink-2); box-shadow: var(--shadow-sm); }
.ticker-track span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--grad-cool); }
.ticker-track span:nth-child(3n+2)::before { background: var(--grad-warm); }
@keyframes scroll { to { transform: translateX(calc(-50% - 6px)); } }

/* ---------- Sections ---------- */
.section { padding: 120px 0; position: relative; isolation: isolate; }
.section-sm { padding: 80px 0; }
.tint { background: var(--bg-2); }
.head { max-width: 760px; margin-bottom: 60px; }
.head.center { margin-left: auto; margin-right: auto; text-align: center; }
.head p { font-size: 1.15rem; color: var(--ink-2); }
.head-row { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 60px; }
.head-row .head { margin-bottom: 0; }

/* spotlight */
.spot { position: relative; overflow: hidden; }
.spot::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .75), transparent 45%); z-index: 0; }
.spot:hover::before { opacity: 1; }
.spot > * { position: relative; z-index: 1; }

/* Pillars */
.pillars { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 22px; }
.pillar { border-radius: var(--radius); padding: 40px 34px 36px; min-height: 360px; display: flex; flex-direction: column; border: 1px solid rgba(255,255,255,.7); transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.pillar:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.pillar.p1 { background: linear-gradient(160deg, #d3f4e5, #b8ead8 60%, #a6e3e0); }
.pillar.p2 { background: linear-gradient(160deg, #fff0de, #ffdcb8); }
.pillar.p3 { background: linear-gradient(160deg, #e9f2fd, #cfe3f8); }
.pillar .n { position: absolute; right: 22px; top: 6px; font-size: 7rem; font-weight: 800; letter-spacing: -0.06em; color: rgba(255, 255, 255, .7); line-height: 1; z-index: 0; }
.pillar .ic { width: 62px; height: 62px; border-radius: 18px; background: #fff; display: grid; place-items: center; color: var(--emerald); box-shadow: var(--shadow-sm); margin-bottom: auto; }
.pillar.p2 .ic { color: var(--orange); }
.pillar.p3 .ic { color: #2a6fb5; }
.pillar h3 { font-size: 1.9rem; margin: 48px 0 12px; letter-spacing: -0.03em; }
.pillar p { color: var(--ink-2); margin: 0; }

/* Services */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.svc {
  display: flex; flex-direction: column; text-decoration: none; color: inherit; border-radius: var(--radius); padding: 36px 32px 32px;
  background: linear-gradient(#fff, #fff) padding-box, linear-gradient(var(--line), var(--line)) border-box; border: 1.5px solid transparent;
  box-shadow: var(--shadow-sm); transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.svc:hover { color: inherit; transform: translateY(-8px); box-shadow: var(--shadow-lg); background: linear-gradient(#fff, #fff) padding-box, var(--grad) border-box; }
.svc .ic { width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; color: #fff; background: var(--grad-cool); margin-bottom: 26px; box-shadow: 0 14px 26px -12px rgba(14, 138, 95, .7); }
.svc:nth-child(2) .ic { background: var(--grad-warm); box-shadow: 0 14px 26px -12px rgba(232, 104, 28, .7); }
.svc:nth-child(3) .ic { background: linear-gradient(135deg, #0fa59a, #2a6fb5); box-shadow: 0 14px 26px -12px rgba(42, 111, 181, .6); }
.svc h3 { font-size: 1.6rem; margin-bottom: 10px; }
.svc p { color: var(--ink-2); }
.svc ul { list-style: none; margin: 6px 0 28px; padding: 0; }
.svc li { display: flex; gap: 10px; align-items: center; padding: 8px 0; font-size: .95rem; font-weight: 600; color: var(--ink-2); }
.svc li svg { color: var(--emerald); flex: none; }
.svc .go { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 750; color: var(--emerald); }
.svc .go svg { transition: transform .3s var(--ease); }
.svc:hover .go svg { transform: translateX(5px); }

/* Referral band */
.band { position: relative; isolation: isolate; overflow: hidden; border-radius: 34px; padding: 80px 70px; color: #fff; background: linear-gradient(125deg, #0b7c55 0%, #0e9a7e 45%, #12a59a 70%, #1d8fb0 100%); box-shadow: 0 40px 80px -40px rgba(14, 138, 95, .7); }
.band::before { content: ""; position: absolute; width: 520px; height: 520px; right: -120px; top: -200px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 196, 120, .75), transparent 65%); filter: blur(20px); z-index: -1; animation: drift1 16s ease-in-out infinite; }
.band::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(255,255,255,.18) 1px, transparent 1.2px); background-size: 24px 24px; mask-image: linear-gradient(90deg, transparent, #000); -webkit-mask-image: linear-gradient(90deg, transparent, #000); }
.band h2, .band h3 { color: #fff; }
.band .kicker { color: #fff; }
.band .kicker::before { box-shadow: 0 0 0 4px rgba(255,255,255,.25); }
.statement { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: center; }
.statement blockquote { margin: 0 0 34px; font-size: clamp(1.7rem, 3vw, 2.5rem); font-weight: 700; line-height: 1.22; letter-spacing: -0.03em; }
.statement blockquote em { font-family: var(--serif); font-weight: 500; font-style: italic; color: #ffd39b; }
.statement .actions { display: flex; gap: 12px; flex-wrap: wrap; }
.orbit-wrap { position: relative; aspect-ratio: 1; width: 100%; max-width: 420px; margin: 0 auto; }
.orbit { position: absolute; inset: 0; border-radius: 50%; border: 1.5px dashed rgba(255,255,255,.35); }
.orbit.o2 { inset: 17%; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.06); }
.orbit.o3 { inset: 32%; background: #fff; border: 0; display: grid; place-items: center; box-shadow: 0 30px 60px -20px rgba(0,0,0,.35); color: var(--ink); }
.orbit.o3 .logo-svg { width: 72%; height: auto; --logo-accent: var(--orange); }
.spin { position: absolute; inset: 0; animation: spin 50s linear infinite; }
.node { position: absolute; width: 58px; height: 58px; margin: -29px 0 0 -29px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--emerald); box-shadow: 0 14px 30px -12px rgba(0,0,0,.35); }
.node.warm { background: var(--grad-warm); color: #fff; }
.node svg { width: 24px; height: 24px; animation: spin 50s linear infinite reverse; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 30px; box-shadow: var(--shadow-sm); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.step .num { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; font-weight: 800; font-size: 1.3rem; color: #fff; background: var(--grad-cool); margin-bottom: 24px; box-shadow: 0 12px 24px -10px rgba(14,138,95,.6); }
.step:nth-child(2) .num { background: linear-gradient(135deg, #0fa59a, #f6a93b); }
.step:nth-child(3) .num { background: var(--grad-warm); box-shadow: 0 12px 24px -10px rgba(232,104,28,.6); }
.step h3 { font-size: 1.35rem; }
.step p { color: var(--ink-2); margin: 0; }

/* CTA */
.cta { position: relative; isolation: isolate; overflow: hidden; border-radius: 34px; padding: 84px 64px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); display: grid; grid-template-columns: 1.35fr 1fr; gap: 48px; align-items: center; }
.cta .b1 { width: 420px; height: 420px; top: -180px; right: -100px; }
.cta .b2 { width: 360px; height: 360px; top: auto; bottom: -200px; right: 30%; }
.cta h2 { margin-bottom: 14px; }
.cta p { color: var(--ink-2); font-size: 1.1rem; margin: 0; }
.cta-side { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.cta-phone { font-size: 2.4rem; font-weight: 800; letter-spacing: -0.04em; text-decoration: none; line-height: 1.1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cta-side small { color: var(--muted); font-weight: 600; }

/* ---------- Page hero ---------- */
.page-hero { position: relative; isolation: isolate; padding: 190px 0 100px; }
.page-hero h1 { font-size: clamp(2.6rem, 5.6vw, 4.6rem); max-width: 15em; }
.page-hero p { font-size: 1.2rem; color: var(--ink-2); max-width: 38em; margin: 0; }
.crumbs { display: inline-flex; gap: 8px; align-items: center; font-size: .85rem; font-weight: 650; color: var(--muted); margin-bottom: 24px; padding: 6px 14px; border-radius: 999px; background: rgba(255,255,255,.7); border: 1px solid var(--line); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--emerald); }

/* About */
.story { display: grid; grid-template-columns: .85fr 1.15fr; gap: 80px; align-items: start; }
.story .sticky { position: sticky; top: 120px; }
.story .lead { font-size: clamp(1.45rem, 2.3vw, 1.9rem); line-height: 1.4; font-weight: 650; letter-spacing: -0.02em; color: var(--ink); }
.story p { color: var(--ink-2); font-size: 1.08rem; }
.timeline { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 14px; }
.timeline li { display: grid; grid-template-columns: 92px 1fr; gap: 16px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 16px 18px; box-shadow: var(--shadow-sm); }
.timeline b { font-size: 1.25rem; font-weight: 800; letter-spacing: -0.03em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.timeline span { color: var(--ink-2); font-size: .95rem; line-height: 1.5; }
.acronym { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.acro { border-radius: var(--radius); padding: 30px 26px; border: 1px solid rgba(255,255,255,.8); transition: transform .4s var(--ease); }
.acro:hover { transform: translateY(-6px) rotate(-1deg); }
.acro:nth-child(1) { background: linear-gradient(160deg, #d3f4e5, #b8ead8); }
.acro:nth-child(2) { background: linear-gradient(160deg, #fff0de, #ffdcb8); }
.acro:nth-child(3) { background: linear-gradient(160deg, #e9f2fd, #cfe3f8); }
.acro b { display: block; font-size: clamp(3rem, 6vw, 4.6rem); font-weight: 800; letter-spacing: -0.05em; line-height: 1; margin-bottom: 16px; }
.acro:nth-child(1) b { color: var(--emerald); }
.acro:nth-child(2) b { color: var(--orange); }
.acro:nth-child(3) b { color: #2a6fb5; }
.acro span { font-size: .8rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); }
.name-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }

/* Services page */
.svc-tabs { position: sticky; top: 86px; z-index: 40; display: flex; justify-content: center; padding: 0 16px; margin: -30px 0 0; }
.svc-tabs nav { display: flex; gap: 4px; padding: 6px; border-radius: 999px; background: rgba(255,255,255,.88); border: 1px solid var(--line); box-shadow: var(--shadow); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); overflow-x: auto; max-width: 100%; scrollbar-width: none; }
.svc-tabs a { flex: none; padding: 11px 20px; border-radius: 999px; text-decoration: none; font-weight: 700; font-size: .92rem; color: var(--ink-2); transition: background .25s, color .25s; }
.svc-tabs a:hover { color: var(--ink); background: var(--bg-2); }
.svc-tabs a.active { background: var(--grad-cool); color: #fff; }
.svc-block { padding: 110px 0; scroll-margin-top: 150px; }
.svc-block.alt { background: var(--bg-2); }
.svc-block .wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: 72px; align-items: start; }
.svc-block .big-n { display: block; font-size: 7rem; font-weight: 800; letter-spacing: -0.06em; line-height: .9; margin-bottom: 22px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.svc-block .intro { font-size: 1.14rem; color: var(--ink-2); margin-bottom: 30px; }
.items { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; list-style: none; margin: 0; padding: 0; }
.items li { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 26px 24px; box-shadow: var(--shadow-sm); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.items li:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.items .ii { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--mint); color: var(--emerald); margin-bottom: 16px; }
.items li:nth-child(4n+2) .ii, .items li:nth-child(4n+3) .ii { background: var(--peach); color: var(--orange); }
.items .ii svg { width: 21px; height: 21px; }
.items strong { display: block; font-size: 1.05rem; margin-bottom: 6px; letter-spacing: -0.01em; }
.items span { color: var(--muted); font-size: .94rem; line-height: 1.55; display: block; }

/* Contact */
.contact-wrap { display: grid; grid-template-columns: 1.25fr .75fr; gap: 28px; align-items: start; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 28px; padding: 46px; box-shadow: var(--shadow-lg); }
.form-card h2 { font-size: 2.1rem; margin-bottom: 8px; }
.form-card > p { color: var(--muted); margin-bottom: 30px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 20px; }
.field label { display: block; font-weight: 700; font-size: .86rem; margin-bottom: 8px; }
.field .opt { color: var(--muted); font-weight: 500; }
.field input, .field textarea, .field select { width: 100%; padding: 15px 16px; font: inherit; font-size: 1rem; color: var(--ink); background: var(--bg); border: 1.5px solid var(--line); border-radius: 14px; transition: border-color .2s, box-shadow .2s, background .2s; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--emerald-2); box-shadow: 0 0 0 5px rgba(19, 173, 122, .14); background: #fff; }
.field textarea { min-height: 160px; resize: vertical; }
.form-note { display: flex; gap: 10px; font-size: .84rem; color: var(--muted); margin: 18px 0 0; line-height: 1.5; }
.form-note svg { flex: none; margin-top: 2px; color: var(--orange); }
.alert { padding: 15px 18px; border-radius: 14px; margin-bottom: 20px; font-weight: 650; font-size: .95rem; }
.alert[hidden] { display: none; }
.alert-ok { background: var(--mint); color: #0b5c40; border: 1px solid #b6e6cf; }
.alert-err { background: #fdece6; color: #8a2a1c; border: 1px solid #f3c6b9; }
.info { position: relative; isolation: isolate; overflow: hidden; border-radius: 28px; padding: 40px 34px; color: #fff; background: linear-gradient(140deg, #0b7c55, #0fa59a 70%, #1d8fb0); box-shadow: 0 30px 60px -30px rgba(14, 138, 95, .7); }
.info::before { content: ""; position: absolute; width: 300px; height: 300px; right: -100px; top: -120px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 196, 120, .7), transparent 65%); z-index: -1; }
.info h2 { color: #fff; font-size: 1.7rem; margin-bottom: 24px; }
.info dl { margin: 0; }
.info dt { font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 800; color: #ffd39b; margin-top: 22px; }
.info dt:first-child { margin-top: 0; }
.info dd { margin: 6px 0 0; font-size: 1.06rem; font-weight: 600; }
.info a { color: #fff; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.4); }
.info a:hover { color: #ffd39b; border-color: #ffd39b; }
.map { margin-top: 22px; border-radius: 28px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4 / 3; background: var(--bg-2); box-shadow: var(--shadow-sm); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- Footer ---------- */
.site-footer { position: relative; overflow: hidden; isolation: isolate; background: var(--bg-2); border-top: 1px solid var(--line); padding: 90px 0 0; font-size: .95rem; color: var(--ink-2); }
.site-footer a { color: var(--ink-2); text-decoration: none; }
.site-footer a:hover { color: var(--emerald); }
.f-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 48px; }
.f-brand { color: var(--ink); }
.f-brand .logo-svg { width: 230px; height: auto; display: block; margin-bottom: 22px; }
.f-brand p { max-width: 22em; }
.site-footer h4 { font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; color: var(--emerald); margin-bottom: 16px; font-weight: 800; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 10px; }
.giant { font-size: clamp(5rem, 22vw, 20rem); font-weight: 800; letter-spacing: -0.06em; line-height: .8; text-align: center; margin: 50px 0 0; background: linear-gradient(180deg, rgba(14,138,95,.2), rgba(246,169,59,.04) 85%); -webkit-background-clip: text; background-clip: text; color: transparent; user-select: none; }
.f-bottom { padding: 22px 0; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .85rem; color: var(--muted); }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(30px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.js .d1 { transition-delay: .08s; } .js .d2 { transition-delay: .16s; } .js .d3 { transition-delay: .24s; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .hero-grid, .statement, .story, .name-grid, .cta, .contact-wrap, .svc-block .wrap { grid-template-columns: 1fr; gap: 48px; }
  .stage { max-width: 560px; width: 100%; margin: 0 auto; }
  .pillars, .svc-grid, .steps { grid-template-columns: 1fr; }
  .pillar { min-height: 0; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .story .sticky { position: static; }
  .f-grid { grid-template-columns: 1fr 1fr; }
  .band { padding: 64px 40px; }
}
@media (max-width: 880px) {
  .nav-toggle { display: grid; }
  .nav { position: absolute; top: calc(100% + 10px); left: 0; right: 0; background: #fff; border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow-lg); display: none; }
  .site-header.menu-open .nav { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; padding: 12px; gap: 4px; }
  .nav a:not(.btn) { padding: 14px 16px; font-size: 1.05rem; }
  .nav .btn { margin: 8px 0 0; }
  .head-row { flex-direction: column; align-items: start; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  .site-header .bar { padding: 8px 8px 8px 16px; }
  .brand .logo-svg { height: 52px; }
  .hero { padding: 130px 0 40px; }
  .stage { height: 500px; }
  .ui { padding: 18px; }
  .ui.payroll { width: 90%; }
  .ui.close { width: 80%; top: 236px; }
  .ui.chart { display: none; }
  .stage { height: 470px; }
  .pill { font-size: .8rem; }
  .pill .long { display: none; }
  .ui.coin { right: 0; bottom: 0; }
  .stats { margin-top: 40px; }
  .stat { padding: 22px 18px; }
  .stat b { font-size: 2rem; }
  .section { padding: 80px 0; }
  .head { margin-bottom: 40px; }
  .pillar { padding: 32px 26px; }
  .pillar h3 { margin-top: 32px; }
  .band { padding: 48px 22px; border-radius: 26px; }
  .orbit-wrap { max-width: 300px; }
  .node { width: 48px; height: 48px; margin: -24px 0 0 -24px; }
  .cta { padding: 48px 24px; border-radius: 26px; }
  .cta-phone { font-size: 2rem; }
  .page-hero { padding: 140px 0 70px; }
  .row2, .items, .f-grid, .acronym { grid-template-columns: 1fr; }
  .form-card { padding: 28px 20px; border-radius: 22px; }
  .info { padding: 30px 24px; }
  .svc-block { padding: 80px 0; }
  .svc-block .big-n { font-size: 5rem; }
  .svc-tabs { top: 72px; }
  .timeline li { grid-template-columns: 74px 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .js .rows .ok, .js .bars i, .js .bar-fill { transform: none; }
}

/* ---------- Ambient section backgrounds ---------- */
.section, .svc-block, .site-footer { overflow: hidden; overflow: clip; }
.aura { position: absolute; inset: 0; z-index: -2; overflow: hidden; pointer-events: none; }
.aura span { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .32; will-change: transform; }
.aura .a1 { width: 460px; height: 460px; background: #a8ead0; top: -140px; left: -160px; animation: drift3 24s ease-in-out infinite; }
.aura .a2 { width: 520px; height: 520px; background: #ffd5a6; bottom: -220px; right: -180px; animation: drift1 28s ease-in-out infinite; }
.aura .a3 { width: 340px; height: 340px; background: #c6def6; top: 35%; left: 55%; opacity: .22; animation: drift2 30s ease-in-out -8s infinite; }
.aura.flip .a1 { left: auto; right: -160px; background: #ffe0bb; }
.aura.flip .a2 { right: auto; left: -180px; background: #b3e9dd; }
.aura.flip .a3 { left: 20%; }
.tint, .svc-block.alt { background: linear-gradient(180deg, #f2f1ea 0%, #eef5f0 55%, #f6f0e6 100%); }
.tint .aura span, .svc-block.alt .aura span { opacity: .45; }
.site-footer { background: linear-gradient(180deg, #f2f1ea, #eaf3ee); }
.site-footer .aura span { opacity: .28; }
.section > .dots-soft { position: absolute; inset: 0; z-index: -1; }

/* gentle shimmer on gradient words */
h1 em, h2 em, .stat b, .cta-phone { background-size: 220% 100%; animation: shimmer 9s ease-in-out infinite alternate; }
@keyframes shimmer { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }

/* steps connector draws in */
.steps { position: relative; }
.steps::before { content: ""; position: absolute; left: 8%; right: 8%; top: 60px; height: 2px; z-index: -1; border-radius: 2px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform 1.6s var(--ease) .3s; opacity: .55; }
.steps.in::before, html:not(.js) .steps::before { transform: scaleX(1); }
.js .steps.reveal { opacity: 1; transform: none; }

/* soft pulse on primary CTA in hero */
.hero .btn-primary { animation: glow 3.6s ease-in-out infinite; }
@keyframes glow { 0%, 100% { box-shadow: 0 12px 30px -12px rgba(14, 138, 95, .7); } 50% { box-shadow: 0 12px 40px -8px rgba(19, 173, 122, .85); } }

/* icon tiles bob gently on hover */
.svc:hover .ic, .pillar:hover .ic, .items li:hover .ii { animation: bob .9s var(--ease); }
@keyframes bob { 0%, 100% { transform: translateY(0); } 40% { transform: translateY(-6px) rotate(-4deg); } }

@media (max-width: 1080px) { .steps::before { display: none; } }
@media (max-width: 640px) {
  .aura span { filter: blur(60px); }
  .aura .a1 { width: 300px; height: 300px; }
  .aura .a2 { width: 320px; height: 320px; }
  .aura .a3 { display: none; }
}
@media (prefers-reduced-motion: reduce) { .steps::before { transform: scaleX(1); } }

.site-header.scrolled .brand .logo-svg { height: 60px; transition: height .3s var(--ease); }
@media (max-width: 640px) { .site-header.scrolled .brand .logo-svg { height: 42px; } }
.orbit.o3 .logo-svg { width: 78%; }
