/* Revinetic — fresh build. A normal website: static sections, each with its own looping animation.
   Nothing pins, nothing is scroll-jacked. The header (with the logo) is always on screen. */
:root {
  --black: #050605;
  --ink: #0b0e0a;
  --lime: #9afe5a;
  --lime-d: #2f7a12;
  --white: #fff;
  --soft: #eef1ea;
  --muted: rgba(255, 255, 255, .72);
  --f-head: "Archivo", system-ui, sans-serif;
  --f-body: "DM Sans", system-ui, sans-serif;
  --pad: clamp(1.25rem, 4vw, 3rem);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --hdr: 84px;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr) + 8px); }
body { background: var(--black); color: var(--white); font-family: var(--f-body); font-size: 1.06rem; line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
canvas { display: block; }
h1, h2, h3 { font-family: var(--f-head); font-stretch: 112%; font-weight: 800; line-height: 1.05; letter-spacing: -.02em; }
b { font-weight: 700; }
.wrap { width: 100%; max-width: 1220px; margin: 0 auto; padding: 0 var(--pad); }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; }

/* ---------- buttons / bits ---------- */
.btn { display: inline-flex; align-items: center; gap: .6rem; padding: .9rem 1.9rem; border-radius: 999px; background: var(--lime); color: var(--black); font-weight: 700; text-decoration: none; transition: transform .35s var(--ease), box-shadow .35s, background .25s, color .25s; }
.btn:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(154, 254, 90, .38); }
.btn--sm { padding: .6rem 1.3rem; font-size: .92rem; }
.btn--lg { padding: 1.05rem 2.2rem; font-size: 1.08rem; }
.btn--ghost { background: transparent; color: var(--white); border: 2px solid rgba(255, 255, 255, .45); }
.btn--ghost:hover { border-color: var(--lime); color: var(--lime); box-shadow: none; }
.btn--dark { background: var(--black); color: var(--lime); }
.btn--dark:hover { background: var(--white); color: var(--black); box-shadow: 0 14px 34px rgba(0, 0, 0, .3); }
.eyebrow { font-size: .78rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--lime); margin-bottom: 1rem; }
.eyebrow--dark { color: var(--lime-d); }
.link { display: inline-flex; gap: .5rem; font-weight: 700; color: var(--lime); text-decoration: none; }
.link span { transition: transform .3s var(--ease); }
.link:hover span { transform: translateX(6px); }

/* ---------- header: ALWAYS visible, big logo ---------- */
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; height: var(--hdr); display: flex; align-items: center; justify-content: space-between; padding: 0 var(--pad); background: rgba(5, 6, 5, .94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid rgba(154, 254, 90, .28); }
.brand { display: block; line-height: 0; }
.brand img { height: 62px; width: auto; filter: drop-shadow(0 0 18px rgba(154, 254, 90, .3)); transition: transform .4s var(--ease); }
.brand:hover img { transform: scale(1.04) rotate(-1deg); }
.nav { display: flex; align-items: center; gap: 1.8rem; font-weight: 500; font-size: .96rem; }
.nav a:not(.btn) { text-decoration: none; position: relative; padding: .25rem 0; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px; background: var(--lime); transition: right .35s var(--ease); }
.nav a:not(.btn):hover::after { right: 0; }
.menu { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid rgba(154, 254, 90, .5); position: relative; }
.menu i { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--lime); transition: transform .35s var(--ease), opacity .2s, top .35s var(--ease); }
.menu i:nth-child(1) { top: 15px; } .menu i:nth-child(2) { top: 22px; } .menu i:nth-child(3) { top: 29px; }
.menu[aria-expanded="true"] i:nth-child(1) { top: 22px; transform: rotate(45deg); }
.menu[aria-expanded="true"] i:nth-child(2) { opacity: 0; }
.menu[aria-expanded="true"] i:nth-child(3) { top: 22px; transform: rotate(-45deg); }
@media (max-width: 920px) {
  :root { --hdr: 72px; }
  .brand img { height: 52px; }
  .menu { display: block; position: relative; z-index: 2; }
  .nav { position: fixed; left: 0; right: 0; top: var(--hdr); flex-direction: column; align-items: stretch; gap: 0; padding: .5rem var(--pad) 1.6rem; background: #000; border-bottom: 1px solid rgba(154, 254, 90, .3); transform: translateY(-120%); transition: transform .45s var(--ease); z-index: -1; }
  .nav.is-open { transform: translateY(0); }
  .nav a:not(.btn) { padding: 1rem 0; font-size: 1.15rem; border-bottom: 1px solid rgba(255, 255, 255, .1); }
  .nav a::after { display: none; }
  .nav .btn { margin-top: 1.2rem; justify-content: center; }
}

/* ---------- sections ---------- */
main { padding-top: var(--hdr); }
.section { padding: clamp(4.5rem, 9vw, 8rem) 0; }
.section--light { background: var(--white); color: var(--black); }
.section--dark { background: var(--ink); }
.section--lime { background: var(--lime); color: var(--black); }
.section--soft { background: var(--soft); color: var(--black); }
.section__head { max-width: 760px; margin-bottom: 3.2rem; }
.section__head--center { margin-inline: auto; text-align: center; }
.section__head h2 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); margin-bottom: 1rem; }
.section__head p:last-child { font-size: 1.15rem; opacity: .82; }
.section--light .eyebrow, .section--soft .eyebrow { color: var(--lime-d); }

/* reveal when a section scrolls into view (one-time, not scroll-driven) */
html.motion [data-in] { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
html.motion [data-in].in { opacity: 1; transform: none; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; min-height: calc(100vh - var(--hdr)); min-height: calc(100svh - var(--hdr)); display: flex; align-items: center; background: radial-gradient(ellipse 60% 70% at 78% 45%, rgba(154, 254, 90, .2), transparent 70%), radial-gradient(ellipse 40% 40% at 5% 100%, rgba(154, 254, 90, .1), transparent 70%), var(--black); }
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(154, 254, 90, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(154, 254, 90, .06) 1px, transparent 1px); background-size: 64px 64px; mask-image: radial-gradient(ellipse at 70% 50%, #000 0%, transparent 72%); -webkit-mask-image: radial-gradient(ellipse at 70% 50%, #000 0%, transparent 72%); }
html.motion .hero::before { animation: gridmove 18s linear infinite; }
@keyframes gridmove { to { background-position: 64px 64px, 64px 64px; } }
.hero__grid { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; gap: 2rem; align-items: center; padding-block: 3rem; }
.pill { display: inline-block; padding: .45rem 1rem; border-radius: 999px; border: 1px solid rgba(154, 254, 90, .5); background: rgba(154, 254, 90, .08); color: var(--lime); font-size: .82rem; font-weight: 600; letter-spacing: .04em; margin-bottom: 1.6rem; }
.hero h1 { font-size: clamp(2.9rem, 6.6vw, 6rem); font-stretch: 118%; margin-bottom: 1.4rem; }
.mark { position: relative; display: inline-block; color: var(--lime); }
.mark svg { position: absolute; left: 0; right: 0; bottom: -.14em; width: 100%; height: .22em; overflow: visible; }
.mark path { fill: none; stroke: var(--lime); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
html.motion .mark path { animation: draw 1.1s .7s var(--ease) both; }
@keyframes draw { from { stroke-dashoffset: 1; } }

.lead { font-size: clamp(1.1rem, 1.7vw, 1.35rem); color: rgba(255, 255, 255, .86); max-width: 33rem; margin-bottom: 2.2rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero__stage { position: relative; height: clamp(380px, 46vw, 600px); }
.hero__stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.toast { position: absolute; display: grid; grid-template-columns: auto 1fr; column-gap: .7rem; align-items: center; padding: .7rem 1.1rem .7rem .9rem; border-radius: 16px; background: rgba(12, 16, 11, .92); border: 1px solid rgba(154, 254, 90, .4); box-shadow: 0 14px 40px rgba(0, 0, 0, .5); font-size: .86rem; line-height: 1.25; backdrop-filter: blur(8px); }
.toast i { grid-row: 1 / 3; width: 10px; height: 10px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 0 rgba(154, 254, 90, .6); }
.toast b { color: var(--white); }
.toast span { color: var(--muted); }
.toast--a { left: 2%; top: 14%; }
.toast--b { right: 0; top: 40%; }
.toast--c { left: 8%; bottom: 10%; }
html.motion .toast { animation: toastin .7s var(--ease) both, bob 5s ease-in-out infinite; }
html.motion .toast i { animation: ping 2s infinite; }
html.motion .toast--a { animation-delay: .6s, 1.3s; }
html.motion .toast--b { animation-delay: 1.2s, 1.9s; }
html.motion .toast--c { animation-delay: 1.8s, 2.5s; }
@keyframes toastin { from { opacity: 0; transform: translateY(20px) scale(.9); } }
@keyframes bob { 50% { transform: translateY(-10px); } }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(154, 254, 90, 0); } 100% { box-shadow: 0 0 0 0 rgba(154, 254, 90, 0); } }
@media (max-width: 900px) { .hero__grid { grid-template-columns: 1fr; } .hero__stage { height: 380px; } .toast { font-size: .78rem; } }

/* ---------- trust strip ---------- */
.strip { background: var(--lime); color: var(--black); overflow: hidden; padding: 1.1rem 0; border-block: 1px solid rgba(0, 0, 0, .15); }
.strip__track { display: flex; align-items: center; gap: 2.4rem; width: max-content; font-family: var(--f-head); font-stretch: 112%; font-weight: 800; font-size: clamp(1.2rem, 2.2vw, 1.8rem); text-transform: uppercase; letter-spacing: -.01em; white-space: nowrap; }
.strip__track i { width: 12px; height: 12px; border-radius: 50%; background: var(--black); flex: none; }
html.motion .strip__track { animation: slide 38s linear infinite; }
html.motion .strip:hover .strip__track { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- services bento ---------- */
.bento { display: grid; grid-template-columns: 1.05fr 1fr; grid-template-rows: auto auto; gap: 1.5rem; }
.tile { display: flex; flex-direction: column; background: var(--black); color: var(--white); border-radius: 28px; overflow: hidden; transition: transform .45s var(--ease), box-shadow .45s; box-shadow: 0 20px 50px rgba(0, 0, 0, .14); }
.tile:hover { transform: translateY(-6px); box-shadow: 0 30px 70px rgba(47, 122, 18, .35); }
.tile--tall { grid-row: 1 / 3; }
.tile__art { position: relative; height: 210px; background: radial-gradient(ellipse at 50% 70%, rgba(154, 254, 90, .2), transparent 70%), #000; }
.tile--tall .tile__art { flex: 1; min-height: 320px; }
.tile__art canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.tile__art svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.tile__body { padding: 1.6rem 1.8rem 1.9rem; }
.tile h3 { font-size: 1.55rem; color: var(--lime); margin-bottom: .7rem; font-stretch: 105%; }
.tile p { color: rgba(255, 255, 255, .84); margin-bottom: 1.1rem; font-size: 1rem; }
.tile p b { color: var(--lime); }
@media (max-width: 860px) { .bento { grid-template-columns: 1fr; } .tile--tall { grid-row: auto; } .tile--tall .tile__art { min-height: 260px; flex: none; height: 260px; } }

/* network art (svg) */
.net-line { stroke: rgba(154, 254, 90, .45); stroke-width: 1.4; }
.net-node { fill: #fff; }
.net-node--hot { fill: var(--lime); }
.net-pulse { fill: #eaffd8; }
html.motion .net-node--hot { animation: pulse 2.2s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes pulse { 50% { transform: scale(1.6); } }

/* content deck */
.tile__art--deck { display: grid; place-items: center; }
.deck { position: relative; width: 150px; height: 130px; }
.dcard { position: absolute; inset: 0; border-radius: 16px; background: #0d120c; border: 2px solid var(--lime); padding: 14px; display: grid; grid-template-columns: 26px 1fr; gap: 8px 10px; align-content: start; box-shadow: 0 10px 28px rgba(0, 0, 0, .6); }
.dcard i { width: 26px; height: 26px; border-radius: 50%; background: var(--lime); grid-row: 1 / 3; }
.dcard b { height: 8px; border-radius: 4px; background: #fff; opacity: .85; margin-top: 3px; }
.dcard b + b { width: 60%; opacity: .4; margin-top: 0; }
.dcard u { grid-column: 1 / -1; height: 44px; border-radius: 10px; background: linear-gradient(135deg, var(--lime), #1a3a0b); }
.dcard:nth-child(1) { z-index: 3; transform: translateY(0) scale(1); }
.dcard:nth-child(2) { z-index: 2; transform: translateY(-14px) scale(.93); opacity: .75; }
.dcard:nth-child(3) { z-index: 1; transform: translateY(-28px) scale(.86); opacity: .5; }
html.motion .dcard { animation: deck 6s var(--ease) infinite; }
html.motion .dcard:nth-child(2) { animation-delay: -2s; }
html.motion .dcard:nth-child(3) { animation-delay: -4s; }
@keyframes deck {
  0%, 28%   { transform: translateY(0) scale(1); opacity: 1; z-index: 3; }
  33%, 61%  { transform: translateY(-14px) scale(.93); opacity: .75; z-index: 2; }
  66%, 92%  { transform: translateY(-28px) scale(.86); opacity: .5; z-index: 1; }
  96%       { transform: translateY(8px) translateX(30px) scale(1) rotate(5deg); opacity: 0; z-index: 3; }
  100%      { transform: translateY(0) scale(1); opacity: 1; z-index: 3; }
}

/* ---------- process ---------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; position: relative; }
.steps::before { content: ""; position: absolute; left: 8%; right: 8%; top: 98px; height: 2px; background: repeating-linear-gradient(90deg, rgba(154, 254, 90, .5) 0 10px, transparent 10px 20px); z-index: 0; }
.step { position: relative; z-index: 1; background: rgba(255, 255, 255, .04); border: 1px solid rgba(154, 254, 90, .22); border-radius: 26px; padding: 1.4rem 1.6rem 2rem; transition: border-color .35s, transform .45s var(--ease); }
.step:hover { border-color: var(--lime); transform: translateY(-6px); }
.step__art { height: 150px; margin-bottom: .6rem; }
.step__art svg { width: 100%; height: 100%; overflow: visible; }
.step__n { font-family: var(--f-head); font-weight: 800; font-size: .9rem; letter-spacing: .2em; color: var(--lime); }
.step h3 { font-size: 2.1rem; margin: .2rem 0 .5rem; }
.step p { color: var(--muted); }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } .steps::before { display: none; } }
.s-lime { fill: var(--lime); }
.s-white { fill: #fff; }
.s-gray { fill: rgba(255, 255, 255, .4); }
.s-line { fill: none; stroke: var(--lime); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.s-ring { fill: none; stroke: var(--lime); stroke-width: 2; }
.s-gate { stroke: #fff; stroke-width: 5; stroke-linecap: round; }
html.motion .ring { animation: ringout 2.6s ease-out infinite; transform-box: fill-box; transform-origin: center; }
html.motion .ring:nth-of-type(2) { animation-delay: .87s; }
html.motion .ring:nth-of-type(3) { animation-delay: 1.74s; }
@keyframes ringout { from { transform: scale(.2); opacity: .9; } to { transform: scale(1); opacity: 0; } }
html.motion .coin-pop { animation: coinpop 3.4s var(--ease) infinite; transform-box: fill-box; transform-origin: center; }
html.motion .coin-pop:nth-of-type(2) { animation-delay: .15s; }
html.motion .coin-pop:nth-of-type(3) { animation-delay: .3s; }
@keyframes coinpop { 0%, 30% { transform: translateY(40px) scale(.3); opacity: 0; } 45%, 85% { transform: none; opacity: 1; } 100% { opacity: 0; } }
html.motion .tick { animation: tickdraw 3.4s var(--ease) infinite; }
@keyframes tickdraw { 0%, 12% { stroke-dashoffset: 1; } 30%, 85% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 1; } }

/* ---------- pricing ---------- */
.pricing { display: grid; grid-template-columns: 1.15fr 1fr; gap: 3rem; align-items: center; }
.pricing h2 { font-size: clamp(2.2rem, 4.8vw, 3.8rem); margin-bottom: 1rem; max-width: 14ch; }
.pricing__copy > p { font-size: 1.15rem; max-width: 30rem; margin-bottom: 1.4rem; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 2rem; max-width: 34rem; }
.chips li { padding: .4rem 1rem; border-radius: 999px; border: 2px solid rgba(0, 0, 0, .85); font-size: .86rem; font-weight: 700; }
.pricing__card { position: relative; border-radius: 32px; background: var(--black); color: var(--white); padding: 1.2rem 1.5rem 2rem; text-align: center; overflow: hidden; box-shadow: 0 30px 70px rgba(0, 0, 0, .3); }
.pricing__card::before { content: ""; position: absolute; inset: -2px; border-radius: inherit; padding: 2px; background: conic-gradient(from var(--a, 0deg), var(--lime), transparent 30%, transparent 70%, var(--lime)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
@property --a { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
html.motion .pricing__card::before { animation: spin 5s linear infinite; }
@keyframes spin { to { --a: 360deg; } }
.coin { height: 250px; }
.coin canvas { width: 100%; height: 100%; }
.price { display: flex; justify-content: center; align-items: flex-start; font-family: var(--f-head); font-stretch: 112%; font-weight: 900; font-size: clamp(4.4rem, 8vw, 6.6rem); line-height: .95; letter-spacing: -.04em; font-variant-numeric: tabular-nums; color: var(--lime); }
.price sup { font-size: .32em; margin: .3em .1em 0 0; }
.price small { font-size: .26em; font-weight: 700; margin: auto 0 .25em .15em; letter-spacing: 0; }
.pricing__card p { color: var(--muted); margin-top: .8rem; }
@media (max-width: 860px) { .pricing { grid-template-columns: 1fr; } }

/* ---------- clients ---------- */
.logos { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.3rem; }
.logos li { background: var(--white); border-radius: 18px; height: clamp(140px, 15vw, 210px); display: grid; place-items: center; padding: 1.2rem; box-shadow: 0 10px 30px rgba(0, 0, 0, .07); transition: transform .45s var(--ease), box-shadow .45s; }
.logos li:hover { transform: translateY(-8px) rotate(-1deg); box-shadow: 0 0 0 3px var(--lime), 0 24px 50px rgba(47, 122, 18, .25); }
html.motion .logos li { animation: floaty 6s ease-in-out infinite; }
html.motion .logos li:nth-child(2n) { animation-delay: -2s; }
html.motion .logos li:nth-child(3n) { animation-delay: -4s; }
@keyframes floaty { 50% { translate: 0 -6px; } }
.logos a { width: 100%; display: block; }
.logos img { width: 100%; height: clamp(90px, 10vw, 150px); object-fit: contain; }
@media (max-width: 720px) { .logos { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- contact / CTA ---------- */
.cta { position: relative; overflow: hidden; background: radial-gradient(ellipse 50% 80% at 85% 0%, rgba(154, 254, 90, .22), transparent 70%), var(--black); padding: clamp(4.5rem, 9vw, 8rem) 0; }
.cta__grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 3rem; align-items: center; }
.cta h2 { font-size: clamp(2.4rem, 5.4vw, 4.6rem); margin-bottom: 2rem; text-wrap: balance; }
.arrow { display: inline-block; }
html.motion .btn:hover .arrow { animation: nudge .6s var(--ease); }
@keyframes nudge { 40% { transform: translateX(8px); } }
.contact { list-style: none; border-top: 1px solid rgba(255, 255, 255, .18); }
.contact li { display: grid; grid-template-columns: 7rem 1fr; gap: 1rem; padding: 1.1rem 0; border-bottom: 1px solid rgba(255, 255, 255, .18); }
.contact span { font-size: .78rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--lime); padding-top: .25rem; }
.contact a { text-decoration: none; font-size: 1.15rem; font-weight: 600; word-break: break-word; }
.contact a:hover { color: var(--lime); }
@media (max-width: 860px) { .cta__grid { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.footer { background: #000; border-top: 4px solid #69a443; padding-top: 3rem; }
.footer__row { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; padding-bottom: 2rem; }
.footer__row img { height: 86px; width: auto; }
.footer__nav { display: flex; flex-wrap: wrap; gap: .6rem 1.8rem; color: var(--lime); font-weight: 600; }
.footer__nav a { text-decoration: none; }
.footer__nav a:hover, .footer__legal a:hover { text-decoration: underline; }
.footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem 2rem; font-size: .85rem; color: var(--lime); padding-block: 1.3rem 2rem; border-top: 1px solid rgba(154, 254, 90, .22); }
.footer__legal a { text-decoration: none; }
.motion-toggle { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; border-bottom: 1px solid currentColor; padding-bottom: 2px; color: var(--white); }
@media (max-width: 700px) { .footer__row, .footer__legal { justify-content: center; text-align: center; } }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
